c program to multiply two matrices by passing matrix to a function
The function multiplyMatrices() takes two matrices and computes their product.
The function displayMatrix() prints a matrix.
The main() function defines two 3×3 matrices, calls the multiplication function, and displays the result.
This program correctly multiplies two matrices and prints the resultant matrix.
1
vote