#include <iostream>
using namespace std;
int main() {
int a = 2;
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][c[1][4]];
}

Answer Posted / bhavana

c[2][4]=8

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the sylabus for priliminaries?

1797


What is abstract class in oop?

620


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2193


write a program to find 2^n+1 ?

1654


Why is polymorphism needed?

694






Get me an image implementation program.

1637


What is multilevel inheritance explain with example?

731


How do you achieve runtime polymorphism?

648


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1489


Why is encapsulation used?

659


What is pointer in oop?

632


Explain the concepts involved in Object Oriented programming.

740


Can enum be null?

668


What is the renewal class?

2260


How to use CMutex, CSemaphore in VC++ MFC

4425