If P is a two-dimensional array having 10 rows and 20 columns, then which of…

Coal India · Computer Science · 2017

If P is a two-dimensional array having 10 rows and 20 columns, then which of the following cannot be used to access the element in row 2 and column 5?

  1. A.

    P[2][5]

  2. B.

    * (* (P + 2) + 5)

  3. C.

    *(P[2] + 5)

  4. D.

    *(P + 2 + 5)

Attempted by 1264 students.

Show answer

Correct answer: D

The worked solution is available to enrolled students.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…