I don't know why but the last element of the resultant matrix is not giving correct value. Please help.
Output :
Enter row of first matrix : 1
Enter column of first matrix : 2
Enter row of second matrix : 2
Enter column of second matrix : 3
Enter 2 elements of first matrix :
1 2
Enter 6 elements of second matrix :
1 2 3
4 5 6
The resultant matrix is:
9 12 0