arg1
arg2
. …………argn); or scanf(control strings
&v1
&v2
&v3
. ………….. &vn); Where arg1
arg2
……….argn are the arguments for reading and v1
v2
v3
……. vn all are the variables. The scanf() format code (spedifier) is as shown in the below table: Format Code Meaning %c To read a single character %d To read a signed decimal integer (short) %ld To read a signed long decimal integer