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

What will be the output of the following C code?
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
 

Tìm kiếm

Back
Top