%d: It is a format specifier used to print an integer value.
%s: It is a format specifier used to print a string.
%c: It is a format specifier used to display a character value.
%f: It is a format specifier used to display a floating point value.
scanf(): The scanf() function is used to take input from the user.
Sandhya Answered question June 26, 2023
The printf() and scanf() functions are used for input and output in C language. Both functions are inbuilt library functions, defined in stdio.h (header file).
Sandhya Answered question June 26, 2023
