MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program?_x000D_ #include_x000D_ #include_x000D_ _x000D_ int main()_x000D_ {_x000D_ float i = 2.5;_x000D_ printf("%f, %d", floor(i), ceil(i));_x000D_ return 0;_x000D_ } |
| A. | 2, 3 |
| B. | 2.000000, 3 |
| C. | 2.000000, 0 |
| D. | 2, 0 |
| Answer» D. 2, 0 | |