[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Program Discussion :: Array

Home > Programs > Array

10 / 30

Write a logic for Matrix multiplication.

Answer:

#include

int main()
{
    int m,n,i,j,p,q,k,s=0;
    int first[50][50],second[50][50],third[50][50];
    printf("\nEnter the no. of rows and coloumns of first matrix: ");
    scanf("%d%d",&m,&n);
    printf("\nEnter the elements of first matrix: ");
    for(i=0;i

Asked In :: Global Edge

Post Your Answer Here:

Language:

Post Your Reply Here: