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
How can a number be converted to a string?
What is the difference between int main and void main in c?
What is the purpose of macro in C language?
What is the difference between functions abs() and fabs()?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
What are the back slash character constants or escape sequence charactersavailable in c?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
Array is an lvalue or not?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What is switch in c?
How do you sort filenames in a directory?
What are directives in c?
Is return a keyword in c?
When should structures be passed by values or by references?