Q9: Explain the meaning of %c, %d, %f used with scanf() in C.

 

A9: %c, %d, %f are used to specify the input value and store it into variable.

%c is the format specifier for char data type.

%d is the format specifier for int data type.

%f is the format specifier for float data type.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.