Question: Using C++ Correct the errors and then show the output for the following program code string s1 = zeiram chr cstring[] = bob; if(s1 ==
Using C++ Correct the errors and then show the output for the following program code
string s1 = "zeiram" chr cstring[] = "bob";
if(s1 == cstring)
cout < "bob cstring" << endl;
else
cout << "zeiram cstring" << endl
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
