Nguyễn Thị Thảo Sương
New member
What will be the output of the following C code?
A. 2.0
B. 2.00
C. 1.0
D. 1.00
Code:
double x=1.8;
printf("%.2lf",floor(x));
B. 2.00
C. 1.0
D. 1.00