Q64
What will be the output of the following C++ code? #include #include using namespace std; int main() char str[5] = "ABC"; cout << str[3]; cout << str; return 0;
A.
ABC
AnswerB.
ABCD
C.
AB
D.
AC
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board