Q30
What is the output of the following code: int arr[3] = 1, 2, 3; cout << *(arr + 2); in C++?
A.
1
B.
2
C.
3
AnswerD.
Compilation error
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board