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
What is the -> in c?
What is wild pointer in c?
Explain what is the best way to comment out a section of code that contains comments?
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
What is difference between && and & in c?
What are variables c?
How is a null pointer different from a dangling pointer?
Is main an identifier in c?
How can I sort a linked list?
What is the 'named constructor idiom'?
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.
How do you construct an increment statement or decrement statement in C?
When the macros gets expanded?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
What is the explanation for prototype function in c?