Vidyalelo
C++ Programming · Q45

Standard Template Library (STL) in C++

Programming · C++ Programming · question 45

Q45

What will be the output of the following C++ code? #include #include int main () printf ("%lf ", fmod (5.3, 2) ); printf ("%lf ", fmod (18.5, 4.2) ); return 0;

A.
1.300
B.
1.700
C.
1.300
1.700
Answer
D.
1.65

Answer: Option C

Solution

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