1.

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

A. 4.320000e+01, 43.200001, 43.2
B. 4.3, 43.22, 43.21
C. 4.3e, 43.20f, 43.00
D. Error
Answer» B. 4.3, 43.22, 43.21


Discussion

No Comment Found

Related MCQs