Integer Output in C
Level 119 keystrokes
Outputs the integer 42 followed by a newline using printf with %d format specifier.
C code
// printf outputs formatted text to the console// %d is the format specifier for integers1printf("%d\n", 42);Output
42
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