Solved

What Will the Following Code Display

Question 22

Multiple Choice

What will the following code display?
Cout << "Roses " << "are red";
Cout << "and " << "violets/n"
Cout << "are" << "blue" << endl;


A) Roses are red
And violets
Are blue
B) Roses are red and violets/nare blue
C) Roses are redand violets/nareblue
D) Roses are red and violets/n are blue

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents