9. Formatted Input/Output
Objectives
In this chapter you’ll:
Use input and output streams.
Use a wide variety of input and print formatting capabilities.
Print with field widths and precisions.
Use formatting flags in the printf
format control string.
Output literals and escape sequences.
Format input using scanf
.
Outline
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.