C Programming

PRINTING OUT THE ASCII VALUES OF CHARACTERS

EXERCISE C20
What would the result of the following operation be?

	int c;
	c = 'a' + 1;
	printf("%c\n", c);
	The program adds one to the value 'a', resulting in the value 'b' as the
	value which is assigned to the variable c.

©Copyright B Brown. 1984-1999. All rights reserved.