Integer Output in C
Level 122 keystrokes
Outputs the sum of 5 and 3 (which is 8) using printf with %d format.
C code
// %d is the format specifier for integers in printf// The expression 5 + 3 is evaluated to 8 before printing1printf("%d\n", 5 + 3);Output
8
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this C code and how often they appear.
"× 2,× 1;× 1(× 1)× 1\× 1%× 1+× 1