Huỳnh Hiền
New member
What will be the output of the following C code?
A. 1
B. 2
C. 1.0
D. 2.0
Code:
double x=1.2
printf("%.1lf", ceil(x));
B. 2
C. 1.0
D. 2.0