adplus-dvertising
frame-decoration

Question

What is the output of this program?
    #include <stdio.h>
    #include <math.h>
    int main ()
    {
        printf ("The value of -3.1416 is %lf\n", fabs (-3.1416));
        return 0;
    }

a.

3.1416

b.

-3.1416

c.

-3.141600

d.

3.141600

Answer: (d).3.141600

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this program?