Q. What is the output of the following code?
Code:char symbol[3]={‘a’,‘b’,‘c’}; for (int index=0; index<3; index++) cout << symbol [index];
β
Correct Answer: (B)
abc
char symbol[3]={‘a’,‘b’,‘c’}; for (int index=0; index<3; index++) cout << symbol [index];
You must be Logged in to update hint/solution