What is printf() and scanf() in C language

printf() and scanf()
The printf() and scanf() is a predefined functions. these are used for input and output in C language. Both functions are inbuilt library functions.

Defined in stdio.h (header file).



printf() function -
The printf() function is used for output or display. It prints the given statement to the screen.


scanf() function -
The scanf() function is used for input. It reads the input data from the user.

Comments

Popular posts from this blog

Draw a line, First graphics program in C