What will be the output of the following C++ code? [code] #include <stdio.h> #include <math.h> int main () { printf

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

Tìm kiếm

Back
Top