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

Quiz: Matrix Programs in C · Question 6 of 10

When is a square matrix symmetric?

When is a square matrix symmetric?

  1. A.When all its values are equal
  2. B.When its main diagonal is all zeros
  3. C.When a[i][j] == a[j][i] for every i and j
  4. D.When its row sums are all equal
Answer & explanation

Correct answer: When a[i][j] == a[j][i] for every i and j

A symmetric matrix equals its own transpose.

Can you get the rest right without peeking?

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

Start the quiz →