C Program to Find Multiplication of Two Matrices (दो Matrices का गुणा ज्ञात करने का C प्रोग्राम)
Matrix multiplication is the process of multiplying rows of the first matrix by columns of the second matrix. The number of columns in the first matrix must be equal to the number of rows in the second matrix. Matrix Multiplication वह प्रक्रिया है जिसमें पहली Matrix की Rows और दूसरी Matrix के Columns के तत्वों का गुणा करके उनका योग निकाला जाता है। दो Matrices का गुणा तभी संभव है जब पहली Matrix के Columns की संख्या दूसरी Matrix की Rows की संख्या के बराबर हो। In this program, Matrix A has 3 rows and 2 columns (3×2), while Matrix B has 2 rows and 3 columns (2×3). Therefore, the resultant matrix will have 3 rows and 3 columns (3×3). इस प्रोग्राम में Matrix A का आकार 3×2 और Matrix B का आकार 2×3 है। इसलिए गुणा करने के बाद प्राप्त होने वाली Resultant Matrix का आकार 3×3 होगा। C Program #include <stdio.h> #define R1 3 #define C1 2 #define R2 2 #define C2 3 int main() { int a[R1][C1], b[R2][C2]; int m[R1][C2]; int i, j, k; printf("Enter elements of Matrix A:\n"); ...