Question: cpp What is wrong with this code? Explain why. int main() { const char MyStr = Is This; MyStr = Interesting; coutMyStr;MyStr[3]=a;coutMyStr; }
What is wrong with this code? Explain why. int main() { const char" MyStr = "Is This"; MyStr = "Interesting"; coutMyStr;MyStr[3]=a;coutMyStr; \}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
