Answer Posted / md.ekramul kabir
#include<stdio.h>
void main(void)
{
int row=0,column=0;
int data[4][4];
for(row=0;row<=3;row++)
{
for(column=0;column<=3;column++)
{
scanf("%d",&data[row][column]);
}
}
printf("\nYour Matrix is : \n");
for(row=0;row<=3;row++)
{
for(column=0;column<=3;column++)
{
printf("%d\t",data[row][column]);
}
printf("\n");
}
}
| Is This Answer Correct ? | 13 Yes | 30 No |
Post New Answer View All Answers
Why do while loop is used?
What is the difference between abstraction and polymorphism?
What is difference between inheritance and polymorphism?
What is use of overloading?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is difference between abstraction and encapsulation?
What is the advantage of oop over procedural language?
What are the components of marker interface?
Can we create object of abstract class?
What does I oop mean?
What is persistence in oop?
What is polymorphism and types?
What is class encapsulation?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is polymorphism explain?