Q. Output of this program will be
Code:
#include
using namespace std;
int main()
{
char str[5] = “ABC”;
cout << str[3];
cout << str;
return 0;
}
β
Correct Answer: (C)
ABC