Select the correct output of the following C++ program segment assuming all…
NVS TGT/PGT 2022
Select the correct output of the following C++ program segment assuming all necessary header files are correctly included. void main() { char *S = "MySQL"; S += 2; cout << S << endl; }
- A.
SQL
- B.
QL
- C.
My
- D.
MyS
Attempted by 233 students.
Sign up free to check your answer
Sign up freeLoading lesson…

