| Special Character | Escape Sequence |
|---|---|
| alert (beep) | \a |
| backslash | \ |
| backspace | \b |
| carriage return | \r |
| double quote | \" |
| formfeed | \f |
| horizontal tab | \t |
| newline | \n |
| null character | \0 |
| single quote | \' |
| vertical tab | \v |
| question mark | ? |
#C #Format #Specifier
| FORMAT SPECIFIERS | DESCRIPTION |
|---|---|
| %d or %i | Signed Integer. Supports short, unsigned short, int and long. |
| %hi | Signed Integer. Supports short. |
| %hu | Unsigned Integer. Supports Unsigned short. |
| %l or %ld or %li | Signed Integer. Supports long. |
| %lu | Unsigned Integer. Supports unsigned int and unsigned long. |
| %lli or %lld | Signed Integer. Supports long long. |
| %llu | Unsigned Integer. Supports unsigned long long. |
| %o | Octal of an Integer. Supports short, unsigned short, int, unsigned int and long. |
| %u | Unsigned integer. Supports unsigned int and unsigned long. |
| %x or %X | Hexadecimal of Unsigned Integer. Supports short, unsigned short, int, unsigned int and long. |
| %e or %E or %g or %G | Scientific notation of float values. Supports float and double. |
| %f | Floating point(float). |
| %lf | Floating point(double). |
| %Lf | Floating point(long double). |
| %c | Character. Supports char and unsigned char. |
| %s | String(char *). |
| %p | Pointer address to void(void *). |
| %n | Null value(prints nothing). |
| %% | Prints % character. |