
86 Programming in C
The syntax of input function for inputting the data such as scanf() is as follows:
scanf(“control string”, argu1, argu2,. . .);
Precisely, if we write scanf() as scanf(“%d”,&x); where %d is a control string
which is nothing but conversion specification and it is to be placed within double quote.
The other part is the argument and a sign & (ampersand) must precede it. Arguments are the
identifiers.
For displaying the result, prinf() formatted function is used. In Section 4.2, printf()
and scanf() are discussed in depth.
(ii) Unformatted Functions: The unformatted input/output functions work ...