1.

What will be the output of the program?

#include<stdio.h> #include<math.h> int main() { float i = 2.5; printf("%f, %d", floor(i), ceil(i)); return 0; } 

A. 2, 3
B. 2.000000, 3
C. 2.000000, 0
D. 2, 0
Answer» D. 2, 0


Discussion

No Comment Found