Octal Output in C

Level 119 keystrokes

Outputs the integer 64 in octal format.

C code

// %o outputs integers in octal (base 8) format
// 64 in decimal equals 100 in octal
1printf("%o\n", 64);

Output

100
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
  • \× 1
  • %× 1

More C examples at level 1

← C typing practice