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

Multiple Format Specifiers

C code walkthrough · Question 18
easyOutput

Code

Read carefully. What does this print?
1#include <stdio.h>
2int main() {
3 int age = 25;
4 char grade = 'A';
5 printf("Age: %d Grade: %c\n", age, grade);
6 return 0;
7}

Your answer