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
How many bytes are occupied by near, far and huge pointers (dos)?
Explain c preprocessor?
What is c programming structure?
What are the types of type specifiers?
How can you avoid including a header more than once?
What does the c preprocessor do?
Under what circumstances does a name clash occur?
What is the use of parallelize in spark?
What is the size of empty structure in c?
Write a program to swap two numbers without using the third variable?
What is dynamic dispatch in c++?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
what is the different bitween abap and abap-hr?
When is a null pointer used?
What is pointer in c?