#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
• What are the desirable attributes for memory managment?
Explain the advantages of inheritance.
i got a backdoor offer in process global,Bangalore..Can i work with it?
Can you inherit a private class?
What are the types of abstraction?
How many human genes are polymorphic?
What is object-oriented programming? Webopedia definition
What are the three parts of a simple empty class?
What is stream in oop?
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?
What is the real time example of encapsulation?
What is the types of inheritance?
what is the drawback of classical methods in oops?
Can you explain polymorphism?
Please send ford technologies placement paper 2 my mail id