Hello friends!!!!!
Use of printf() and scanf() functions
C LANGUAGE
9/12/20241 min read
printf() is used to print the output on the display.
scanf() is used to read formatted data from the keyboard.
Some data type format specifier for printing and scanning purposes are as follows :
%d : It's a datatype format specifier for printing and scanning an integer value.
%s : It's a datatype format specifier for printing and scanning a string.
%c : It's a datatype format specifier for displaying and scanning a character value.
%f : It's a datatype format specifier. It is used for displaying and scanning a float value.