

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the program?_x000D_ #include_x000D_ #include_x000D_ int main()_x000D_ {_x000D_ float n=1.54;_x000D_ printf("%f, %f\n", ceil(n), floor(n));_x000D_ return 0;_x000D_ } |
A. | 2.000000, 1.000000 |
B. | 1.500000, 1.500000 |
C. | 1.550000, 2.000000 |
D. | 1.000000, 2.000000 |
Answer» B. 1.500000, 1.500000 | |