Skip to Main Content
Programming in C, Fourth Edition
book

Programming in C, Fourth Edition

by Stephen G. Kochan
August 2014
Beginner content levelBeginner
552 pages
15h 37m
English
Addison-Wesley Professional
Content preview from Programming in C, Fourth Edition

15. Input and Output Operations in C

All reading and writing of data up to this point has been done through your output window, otherwise known as the console or terminal. When you wanted to input some information, you either used the scanf() or getchar() functions. All program results were displayed in your window with a call to the printf() function.

The C language itself does not have any special statements for performing input/output (I/O) operations; all I/O operations in C must be carried out through function calls. These functions are contained in the standard C library. This chapter covers some additional input and output functions as well as how to work with files. Topics covered include

Covering basic I/O with putchar() and getchar() ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming in C, Third Edition

Programming in C, Third Edition

Stephen G. Kochan
C Programming Language, 2nd Edition

C Programming Language, 2nd Edition

Brian W. Kernighan, Dennis Ritchie

Publisher Resources

ISBN: 9780132781206Purchase book