Matrix-Multiplication-In-C

This program takes command line arguments declaring the size of the two matrices and then reads in user input to fill the matrices before multiplying them.

Command Line Arguments

./a.out M1_NUM_ROWS C1_NUM_COLS M2_NUM_ROWS M2_NUM_COLS

Dimensions

  • M1_NUM_ROWS is the first matrix's amount of rows.
  • M1_NUM_COLS is the first matrix's amount of columns.
  • M2_NUM_ROWS is the second matrix's amount of rows.
  • M2_NUM_COLS is the second matrix's amount of columns.