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.



do ne body have any idea about the salary for the we r going to have interview. yup .. u got it ri..

Answer / 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

More C Interview Questions

Can a file other than a .h file be included with #include?

0 Answers   Aspire, Infogain,


how can f be used for both float and double arguments in printf? Are not they different types?

0 Answers  


Explain bit masking in c?

0 Answers  


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

0 Answers  


what is the basis for selection of arrays or pointers as data structure in a program

0 Answers   TCS,






What is the easiest sorting method to use?

0 Answers  


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers   TCS, Vimukti Technologies,


to get a line of text and count the number of vowels in it

3 Answers   Satyam,


Why is c called c?

0 Answers  


a c code by using memory allocation for add ,multiply of sprase matrixes

0 Answers  


Write a program to generate the first n terms in the series --- 2,3,5,7,11,...,17

0 Answers  


write a c program to find reminder and quotient if one number is divided by other.to code this program don't use more than 2 variables

2 Answers   TCS,


Categories