#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 are the desirable attributes for memory managment?

1734


Explain the advantages of inheritance.

680


i got a backdoor offer in process global,Bangalore..Can i work with it?

2339


Can you inherit a private class?

643


What are the types of abstraction?

566






How many human genes are polymorphic?

581


What is object-oriented programming? Webopedia definition

729


What are the three parts of a simple empty class?

1466


What is stream in oop?

846


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?

1401


What is the real time example of encapsulation?

602


What is the types of inheritance?

606


what is the drawback of classical methods in oops?

2926


Can you explain polymorphism?

585


Please send ford technologies placement paper 2 my mail id

1660