ProgrammingModerate

How many 1s are on the main diagonal of a 4 x 4 identity matrix?

  1. A. 4
  2. B. 3
  3. C. 8
  4. D. 16

Correct answer: A. 4

Each diagonal cell of an identity matrix is 1, and there are four of them.

More C Programming questions

Exams that ask this topic