Which of the following correctly accesses the element in the 2nd row and 3rd…
BEL Probationary Engineer 2025Modified — slightly modified from the official paper; see the solution
Which of the following correctly accesses the element in the 2nd row and 3rd column of a 2D array int arr[3][4]?
- A.
*(*(arr + 1) + 2)
- B.
*(arr[1][2])
- C.
arr + 1 + 2
- D.
*(arr + 2 + 3)
Attempted by 201 students.
Sign up free to check your answer
Sign up freeLoading lesson…

