← Quiz: Matrix Programs in C: all 10 questions
Quiz: Matrix Programs in C · Question 1 of 10
A matrix A is 2 × 3 and B is 3 × 4. What is the size of A × B?
A matrix A is 2 × 3 and B is 3 × 4. What is the size of A × B?
- A.3 × 3
- B.2 × 4
- C.4 × 2
- D.It cannot be multiplied
Answer & explanation
Correct answer: 2 × 4
The inner sizes (3 and 3) match, and the result takes the outer sizes: 2 rows and 4 columns.
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 →