Escape Sequence in C

Level 127 keystrokes

Prints text with tab and newline escape sequences.

C code

// \t inserts a tab between columns, \n starts a new line
// So A, B, C and 1, 2, 3 appear as two tab-separated rows
1printf("A\tB\tC\n1\t2\t3");

Output

A	B	C
1	2	3
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.

  • \× 5
  • "× 2
  • ;× 1
  • (× 1
  • )× 1

More C examples at level 1

← C typing practice