Unsigned Integer in C

Level 121 keystrokes

Outputs an unsigned integer using the %u format specifier.

C code

// %u outputs unsigned integers (non-negative values only)
// They can hold larger positive values than signed ones of the same size
1printf("%u\n", 4294);

Output

4294
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