Vidyalelo
C++ Programming · Q389

C++ miscellaneous

Programming · C++ Programming · question 389

Q389

What will be the output of the following C++ code? #include using namespace std; int main () int a = 100; double b = 3.14; cout << a; cout << endl; cout << b << endl << a * b; endl (cout); return 0;

A.
100
B.
3.14
C.
314
D.
All of the mentioned
Answer

Answer: Option D

Solution

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