What will be the output of the program
#include
int main()
{
float f=43.20;
printf("%e, ", f);
printf("%f, ", f);
printf("%g", f);
return 0;
}

4.320000e+01, 43.200001, 43.2
 
4.3, 43.22, 43.21
 
4.3e, 43.20f, 43.00
 
Error
 

Answer

A Foxoyo User

Statistics

0 Level
0
Attempts
0
Accuracy
0
Bookmark
0
Tags

Quizes

Related Questions