CJCoding With Joseph
← Back to Question List
C Code Walkthrough #30

A Char Printed as a Number

mediumData Types

📄 Code

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

🎯 Your Answer