I want to know how they got the output!! Step by step, please.
l.5 points) Consider the following instructions:
// 0123456789012345678 string string1 = "Programming is Fun!";
// 0123456789012345678901 string string2 = "I like the C++ course."
What will be the output of the following?
cout << string2.substr(11,3) + string1.substr(11);
[3 points]
Answer: C++ is Fun!
b.
if (string1 > string2) cout << "Yes"; else cout << "No";
[2 points]
Answer: Yes