CJCoding With Joseph
15per day
← Back to Question List
C Code Walkthrough #6

Character Arithmetic

mediumPrinting

📄 Code

Read carefully — what does this print?
1#include <stdio.h>
2 
3int main() {
4 char c = 'A';
5 printf("%c\n", c + 1);
6 printf("%d\n", c);
7 printf("%c\n", c + 32);
8 return 0;
9}

🎯 Your Answer