11-Formatted Output Functions PDF
11-Formatted Output Functions PDF
Formatted
Output
Functions
B.Bhuvaneswaran, AP (SG) / CSE
9791519152
bhuvaneswaran@rajalakshmi.edu.in
printf() Function
The calculated results are output with the help of output function
called printf().
This function is used to display any combination of digits,
characters and strings.
It is similar to the scanf() function, but the purpose is to display
the data.
The printf() function moves data from the computer’s memory to
the standard output device whereas the scanf() function enters
data from the standard input device and stores it in the
computer’s main memory.