String Output in C

Level 118 keystrokes

Outputs the string "Hello" followed by a newline using printf.

C code

// printf outputs formatted text to the console
// \n is the escape sequence for a newline character
1printf("Hello\n");

Output

Hello
Practice typing this code

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

More C examples at level 1

← C typing practice