CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

A Char Printed as a Number

C code walkthrough · Question 30
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