84.1k views
5 votes
In C, for variables of type int we use %i as the format specifier in printf and scanf statements. What do we use as the format specifier for variables of type float, if we want to output the floating point value, showing 3 decimal places?

1 Answer

5 votes

Answer:

variable with a leading sign, three fractioned digits after the decimal point

User Hae
by
8.1k points

Related questions

1 answer
2 votes
23.0k views
asked Feb 15, 2022 199k views
Macnique asked Feb 15, 2022
by Macnique
7.8k points
1 answer
3 votes
199k views