Vidyalelo
C Programming · Q147

Standard Library Functions

Programming · C Programming · question 147

Q147

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board