Alert
The alert character '\a' produces an audible or visible alert when output. This
character is often mapped to 007 on ASCII systems, and 057 on EBCDIC systems
(BEL).
Backspace
The backspace character '\b' moves to the previous position within the line. This
character is often mapped to 010 on ASCII systems, and 026 on EBCDIC systems
(BS).
Form feed
The form feed character '\f' starts a new page. This character is often mapped to
014 on ASCII and EBCDIC systems (FF).
Newline
The new line character '\n' moves to the start of the next line. This character is
often mapped to 012 (LF) on ASCII systems, and 025 (NL) or 045 (LF) on EBCDIC
systems.
Carriage return
The carriage return character '\r' moves to the start of the current line. This
character is often mapped to 015 on ASCII and EBCDIC systems (CR).
Horizontal tab
The horizontal tab character '\t' moves to the next horizontal tabulation on the
current line. If currently at or past the last tab, it results in unspecified behavior
(Often, this can include moving to the end of the current line, or the start of the next,
or to the first tab on the next line.). This character is often mapped to 011 on ASCII
and 005 on EBCDIC systems (HT).
Vertical tab
The vertical tab character '\v' moves to the beginning of the line at the next
vertical tabulation. If currently at or past the last vertical tab, it results in unspecified
behavior. This character is often mapped to 013 on ASCII and EBCDIC systems
(VT).
Null character
The null character '\0' indicates the end of a string. It is mapped to the value 0 (in
ASCII and EBCDIC, this character is called NUL)
C standard library
<assert.h>
<complex.h>
<ctype.h>
<errno.h>
<fenv.h>
<float.h>
<inttypes.h>
<iso646.h>
<limits.h>
<locale.h>
<math.h>
<setjmp.h>
<signal.h>
<stdarg.h>
<stdbool.h>
<stddef.h>
<stdint.h>
<stdio.h>
<stdlib.h>
<string.h>
<tgmath.h>
<time.h>
<wchar.h>
<wctype.h>
v · d · e
The standard library function printf() is used for formatted output. It takes as
arguments a format string and an optional list of variables or literals to output. The
variables and literals are output according to the specifications in the format string.
Here is the prototype for printf():
The alert character '\a' produces an audible or visible alert when output.
The horizontal tab character '\t' moves to the next horizontal tabulation on the
current line. If currently at or past the last tab, it results in unspecified behavior
(Often, this can include moving to the end of the current line, or the start of the next,
or to the first tab on the next line.).
The carriage return character '\r' moves to the start of the current line.
The new line character '\n' moves to the start of the next line