Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
printf Type Characters
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The type character, which appears after the last optional format
field, determines how the associated argument is converted:
◄Integer: d, i, u, o, x, X, n ►
◄Floating-point: e, E, f, g, G ►
◄Character: c, s ►
◄Pointer: p ►
If a percent sign (%) is followed by a character that has no
meaning as a format field, the character is copied to stdout.
-♦-