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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.