Vidyalelo
C++ Programming · Q216

C++ miscellaneous

Programming · C++ Programming · question 216

Q216

Choose the correct formatted code.

A.
cout << "Hai"
<< "Good morning";
B.
cout << "Hai" <<
"Good morning" << endl;
Answer
C.
cout<<"Hai";
D.
None of the above

Answer: Option B

Solution

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