← 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?
- A.When all its values are equal
- B.When its main diagonal is all zeros
- C.When a[i][j] == a[j][i] for every i and j
- 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 →