#include <iostream>
using namespace std;
int main() {
int a = 3;
int c[5][5];
for (int x=0;x<5;x++) {
for (int y=0;y<5;y++) {
c[x][y] = x*y;
}
}
cout << c[a][2];
}
Answer Posted / pratiksha21
answer is 6
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Can destructor be overloaded?
What is abstraction in oops?
What is debug class?what is trace class? What differences are between them? With examples.
What is the real time example of inheritance?
Give two or more real cenario of virtual function and vertual object
Can we create object of interface?
What is methods in oop?
program for insertion ,deletion,sorting in double link list
What is class and object with example?
What is polymorphism explain its types?
Explain the concepts involved in Object Oriented programming.
What is the difference between inheritance and polymorphism?
What is an example of genetic polymorphism?
How to hide the base class functionality in Inheritance?
What is constructor overloading in oop?