3printf_scanf
3printf_scanf
Printing Floating-point Numbers - Contains the decimal point such as 35.5 or 7456.945.
Printing Strings & Characters - c and s conversion specifiers are used to print individual
characters and strings respectively.
Conversion specifier c requires a char argument and s requires a pointer to char as an argument.
s causes characters to be printed until a terminating NULL (‘\0’) character is encountered.
Output:
Printing a % in a format control string
For example:
scanf("%e%f%g", &a, &b, &c);
The format-control-string describes the formats of the input.
The other-arguments are pointers to variables in which the input will be stored (i.e..,
address of the variable where input values to be stored).