🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Matrix Traversal: all 13 questions

Quiz: Matrix Traversal · Question 4 of 13

Cells (0, 2), (1, 1) and (2, 0) of a 3×3 matrix all have the same:

Cells (0, 2), (1, 1) and (2, 0) of a 3×3 matrix all have the same:

  1. A.r − c
  2. B.r + c
  3. C.r × c
  4. D.value
Answer & explanation

Correct answer: r + c

They lie on the anti-diagonal, where row + column is constant (2).

Can you get the rest right without peeking?

Take the timed Quiz: Matrix Traversal quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →