string a = “4”;
string b = “8”;
string c = a + b;
cout << c << endl;
If the program is run, what will be displayed on the screen?
(A) 4
(B) 8
(C) 12
(D) 48
The answer is: (D) 48
string a = “4”;
string b = “8”;
string c = a + b;
cout << c << endl;
If the program is run, what will be displayed on the screen?
(A) 4
(B) 8
(C) 12
(D) 48
The answer is: (D) 48