Scanf
A function is use to take input from keyboard and transfer to a variable.Syntax
Scanf(“format string”,&variable_list);Format string : %d,%c,%f,%s has been use as format string .
Variable_list : Name of variable followed by address operator where input though keyboard been transferred.
Example
Scanf(%d”,&a); Integer inputScanf(“%c”,&a); character input