Answer Posted / abhradeep chatterjee
#include<conio.h>
#include<stdio.h>
void main()
{
int a[2][2],b[2][2],c[2][2];//declare 3 array int type
int i,j,k;
for(i=0;i<2;i++)
{
for(j=0;j<2;j++)
{
} scanf("%d",&a[i][j]);//inserting element in array a
}
for(i=0;i<2;i++)
{
for(j=0;j<2;j++)
{
} scanf("%d",&b[i][j]);//inserting element in array b
}
for(i=0;i<2;i++)
{
for(j=0;j<2;j++)
{
for(k=;k<2;K++)
{
c[i][j]+=a[i][k]*b[i][j];//multiply of a and b
}
}
}
for(i=0;i<2;i++)
{
for(j=0;j<2;j++)
{
printf("%d",a[i][j]);//printing element of array c
}
}
}
| Is This Answer Correct ? | 20 Yes | 21 No |
Post New Answer View All Answers
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
will u please send me the placement papers to my mail???????????????????
What is meant by errors and debugging?
How do you declare a variable that will hold string values?
What is %lu in c?
What are structure types in C?
What is difference between function overloading and operator overloading?
What is realloc in c?
Explain the properties of union. What is the size of a union variable
is it possible to create your own header files?
What is the purpose of the statement: strcat (S2, S1)?
What is the difference between formatted&unformatted i/o functions?
Is it better to use malloc() or calloc()?
Explain what is the most efficient way to store flag values?
What is a good way to implement complex numbers in c?