C - Input and Output
What will be the output of this code?
char ch = 'A';
printf("Character: %c, ASCII: %d", ch, ch);
char ch = 'A';
printf("Character: %c, ASCII: %d", ch, ch);
%c prints the character itself, %d prints its ASCII integer value. 'A' has ASCII 65.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions