Show the output of the following code:
string s1 = “Good morning ”; string s2 = “Good afternoon ”;cout << s1[ ] << endl;cout << (s1 == s2 ? "true": "false ") << endl;cout << (s1 != s2 ? "true": "false ") << endl;cout << (s1 > s2 ? "true ": "false ") << endl; cout << (s1 >= s2 ? "true ": "false ") << endl; cout << (s1 < s2 ? "true ": "false ") << endl; cout << (s1 < = s2 ? "true ": "false ") << endl;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.