Q. What is the output of the following code?
Code:int arr[] = {1,2,3};
printf("%d", *(arr+1));
β
Correct Answer: (B)
2
Explanation: arr+1 points to the second element of the array.