Examveda

What will be the output of the following C code?
double x=3,y= - 6;
printf("%lf %lf", fabs(x), fabs(y));

A. 3 6

B. -3 6

C. 3.0 6.0

D. 3.000000 6.000000

Answer: Option D


This Question Belongs to C Program >> Standard Library Functions

Join The Discussion

Related Questions on Standard Library Functions