#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];
}



#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=..

Answer / pratiksha21

answer is 6

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is the difference between const int *ptr and int const *ptr???

2 Answers  


What is overriding in oops?

0 Answers  


Why many objects can working together? How objects working togetherM I want to see example code.

2 Answers  


What is virtual class and friend class?

5 Answers   IBS, Intel, Wipro,


Is abstract thinking intelligence?

0 Answers  






difine hierarchical inheritance.

9 Answers   ASD Lab, TCS,


What is multilevel inheritance?

0 Answers  


Why it is called runtime polymorphism?

0 Answers  


What does and I oop mean in text?

0 Answers  


How many types of access specifier in c# and vb.net?

1 Answers   Infosys,


What are virtual classes?

0 Answers  


create a c++ program that will ask 10 numbers and display their sum using array.

1 Answers  


Categories