Question

Write a program in C language using functions, which multiply any two matrices of size 3 x 3. User should input these matrices.

21 Jan 2021
Answer :
Word Count : 345

Here is a program in C language that multiplies two 3x3 matrices using functions. The user is prompted to input the matrices, and the multiplication is performed using a dedicated function.

```c
#include <stdio.h>

// Function to input a 3x3 matrix
void inputMatrix(int matrix[3][3], const char *name) {
    printf("Enter elements of matrix ___ ___ __________ ______ ____ ________ _____ _________.
_______ ______ ___ ____ __________ ___ _____ ________.
_____ _____ ______ _________ __________ ___ ______ _____ ________.
_________ ________ ______ ____ ________ ___.
___ __________ _____ ______ _______ ______ ___ ________.
____ __________ _________ ___ _______ _____ __________ ______ _______ ________ _________.
______ ________ _________ ______ _______.
__________ ______ _____ ___ _____ ________ ___ _________ _____ _____ ________.
__________ _______ ______ ________ _____ ____ ______ ____ ________.
____ ____ ___ _______ __________ ________ _________.
_____ ___ _________ __________ ____ _______ ________ ______ ____ _________.
____ _____ _______ _____ ____ _________ ______ __________.
_____ ________ ___ ________ ________.
__________ _________ _______ ___ _______ _______ ____ _____ ______.
_____ ___ _______ _____ __________ ________ ________ __________ _______ _____ ___ ____.
_____ ___ _________ ____ ___.
_________ ______ _________ _______ _____ ___ ________ ____ _____ ____ _______.
________ _________ ___ ________ ____ ____ ______ ___.
_________ _____ ________ ____ ___ ________.
______ __________ ____ _________ ________ _________ ________ _________ _____ _________ _____.
__________ _______ _________ __________ ____ ______ _________ ___ _______ ________.
__________ ____ ____ _______ ____.
____ ________ ________ ____ _____.
_____ ______ _____ _____ __________ ___ _________ ___ _________ ______ _____.
__________ _____ _________ ____ ______ ________ _________.
__________ ________ ____ _______ _______ _________ __________ ____ _________ ________ _____ ___.
________ _________ ______ _________ _________ _________ __________ ______ _________ ___.
________ __________ __________ _______ ____ __________.
______ __________ __________ __________ ________ _________ ____ _____ ___ _______ _______.
___ ____ _________ ______ ________ ____ _________.
________ _____ _________ ____ _________ __________ _______.
_________ ___ __________ _______ ________ ____ __________ ___ ______.
____ ______ _____ ______ __________ ______.
________ _________ ______ _____ ____ _______.
______ _____ _____ ______ ________ _________ ____.
______ _______.
Get Full Answer on WhatsApp

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Write a program in C language using functions, which multiply any two
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support