Which of the following statements provide two lines of output? ?
- cout << ”VERY” << “GOOD”;
- cout << ”VERY” “\n” << “GOOD” “\n”;
- cout << ”VERY” “\\n” << “GOOD” “\n”;
- cout << “VERY” << “GOOD” “\n”;
Answer:
Option b: cout << ”VERY” “\n” << “GOOD” “\n”;
Explanation Here
0 Comments