beingchinmay
New member
Scanf() function get the input from the user. It contains two argument.
First argument: - specify the datatype
For example: - %f This tells that the value will be in floating point
Second argument: - name in which the data to be stored
For example: - &f1 the entered value is stored in f1.
First argument: - specify the datatype
For example: - %f This tells that the value will be in floating point
Second argument: - name in which the data to be stored
For example: - &f1 the entered value is stored in f1.