#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
What is difference between inheritance and polymorphism?
What is encapsulation and abstraction? How are they implemented in C++?
write a program to find 2^n+1 ?
What is object in oop?
Why do we use inheritance?
What is polymorphism what is it for and how is it used?
Get me an image implementation program.
Is html an oop?
What is cohesion in oop?
What is encapsulation process?
What is the diamond problem in inheritance?
What is abstraction example?
Are polymorphisms mutations?
What is use of overloading?
What are oops methods?