Examveda

What will be the output of the following C code?
double x=1.2
printf("%.1lf", ceil(x));

A. 1

B. 2

C. 1.0

D. 2.0

Answer: Option D


This Question Belongs to C Program >> Standard Library Functions

Join The Discussion

Related Questions on Standard Library Functions