Vidyalelo
C++ Programming · Q64

Standard Template Library (STL) in C++

Programming · C++ Programming · question 64

Q64

What will be the output of the following C++ code? #include #include int main () printf ("The value of -3.1416 is %lf ", fabs (-3.1416)); return 0;

A.
3.1416
B.
-3.1416
C.
-3.141600
D.
3.141600
Answer

Answer: Option D

Solution

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