C – Input/Output Functions

Home/C - Tutorial/C – Input/Output Functions
C – Input/Output Functions 2017-07-19T19:22:00+00:00


Scanf The usually used input statement in C is scanf () function.
Getchar getchar function will accept a character from the console or from a file, displays immediately while typing and we need to press Enter key for proceeding.
Gets It is used to scan a  line of text from a standard input device. The gets() function will be terminated by a newline character.
Printf The usually used output statement in C is printf () function.
Putchar putchar function displays a single character on the screen.
Puts It is used to display a string on a standard output device.



Prev Next