do ne body have any idea about the salary for the we r going
to have interview.
yup .. u got it right ..i m talking abt NIC.

Answer Posted / manojbatra071

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,r,c,a[10][10],b[10]][10],c[10][10],k;
clrscr();
printf("enter the size of array");
scanf("%d%d",&r,&c);
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
scanf("%d",a[i][j]);
}
printf("enter elements of 2nd matrix");
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
scanf("%d",&b[i][j]);
}
for(i=0;i,r;i++)
{
for(k=0;k<r;k++)
{
for(j=0;j<r;j++)
c[i][k]=c[i][k]+a[i][j]*b[j][k];
}
}
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the -> in c?

573


What is wild pointer in c?

596


Explain what is the best way to comment out a section of code that contains comments?

710


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

648


What is difference between && and & in c?

572






What are variables c?

607


How is a null pointer different from a dangling pointer?

551


Is main an identifier in c?

591


How can I sort a linked list?

630


What is the 'named constructor idiom'?

630


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1612


How do you construct an increment statement or decrement statement in C?

732


When the macros gets expanded?

776


Explain can the sizeof operator be used to tell the size of an array passed to a function?

586


What is the explanation for prototype function in c?

560