Answer Posted / akshay sharma
#include<stdio.h>
#include<conio.h>
main()
{
int a[2][2],b[2][2],c[2][2],i,j,k;
for(i=0;i<2;i++)
{
for(j=0;j<2;j++)
{
scanf("%d",&a[i][j]);
}
}
for(i=0;i<2;i++)
{
for(j=0;j<2;j++)
{
scanf("%d",&b[i][j]);
}
}
for(i=0;i<2;i++)
{
for(j=0;j<2;j++)
{
c[i][j]=a[i][j]*b[i][j];
}
}
for(i=0;i<2;i++)
{
for(j=0;j<2;j++)
{
printf("%d",c[i][j]);
}
}
}
Is This Answer Correct ? | 10 Yes | 18 No |
Post New Answer View All Answers
What is void pointers in c?
Why is c called a structured programming language?
Explain what is the difference between text files and binary files?
Can you tell me how to check whether a linked list is circular?
write a program to copy the string using switch case?
I need a sort of an approximate strcmp routine?
Write a program to generate random numbers in c?
What is call by value in c?
Tell me what is null pointer in c?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
Do array subscripts always start with zero?
What is type qualifiers?
Explain what is the difference between a free-standing and a hosted environment?
What is difference between structure and union in c?
explain how do you use macro?