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
What are constructors in oop?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What makes a language oop?
c++ program to swap the objects of two different classes
What is abstraction oop?
How oops is better than procedural?
What is persistence in oop?
why reinterpret cast is considered dangerous?
What is abstraction in oops with example?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
can inline function declare in private part of class?
What are the 3 principles of oop?
What is inheritance in simple words?
What is object in oops?
Why is polymorphism important in oop?