Scanf function

scanf function :
The scanf() function is used to take input from user. This function can be used to enter any combination of numeric values, single characters and strings.

Syntax :
scanf ("format string", argument list);

format string : It contains the information for interpreting the entire data.


NOTE :
  • The format string must be a text enclosed in double quotes.

Post a Comment

0 Comments