- %c Character
- %d Signed integer
- %e or %E Scientific notation of floats
- %f Float values
- %g or %G Similar as %e or %E
- %hi Signed integer (short)
- %hu Unsigned Integer (short)
- %i Unsigned integer
- %l or %ld or %li Long
- %lf Double
- %Lf Long double
- %lu Unsigned int or unsigned long
- %lli or %lld Long long
- %llu Unsigned long long
- %o Octal representation
- %p Pointer
- %s String
- %u Unsigned int
- %x or %X Hexadecimal representation
- %n Prints nothing
- %% Prints % character
- %c a single character
- %s a string
- %hi short (signed)
- %hu short (unsigned)
- %Lf long double
- %n prints nothing
- %d a decimal integer (assumes base 10)
- %I a decimal integer (detects the base automatically)
- %o an octal (base 8) integer
- %x a hexadecimal (base 16) integer
- %p an address (or pointer)
- %f a floating point number for floats
- %u int unsigned decimal
- %e a floating point number in scientific notation
- %E a floating point number in scientific notation
- %% The % symbol