MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is the correct output for the program given below? #include <stdio.h>int main ( ){ float n = 2.39; printf("%f %f n", ceil (n), floor (n)) ; return 0 ;} |
| A. | 3.000000 2.000000 |
| B. | 2.500000 2.500000 |
| C. | 2.550000 3.000000 |
| D. | 2.000000 3.000000 |
| Answer» B. 2.500000 2.500000 | |