#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];
}
• What are the desirable attributes for memory managment?
what is ns string? what is ns array?
What is difference between multiple inheritance and multilevel inheritance?
What type of loop is a for loop?
What is an orthogonal base class?
Which method cannot be overridden?
write a progra in c++ using class & object to find out wheather a given no. is prim or not.
Does c++ support multilevel and multiple inheritance?
why oops need in programming
Can we have a private constructor ?
12 Answers HSBC, Ness Technologies, TCS, Wipro,
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?
Which is not an object oriented programming language?