9. Formatted Input/Output

Objectives

In this chapter you’ll:

Image Use input and output streams.

Image Use a wide variety of input and print formatting capabilities.

Image Print with field widths and precisions.

Image Use formatting flags in the printf format control string.

Output literals and escape sequences.

Format input using scanf.

Get C for Programmers with an Introduction to C11 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.