#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 a superclass in oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is the advantage of oop over procedural language?
Why is oop useful?
Why is polymorphism needed?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What are the three parts of a simple empty class?
What is use of overloading?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
to find out the minimum of two integer number of two different classes using friend function
Why is oop better than procedural?
How do you answer polymorphism?
hi all..i want to know oops concepts clearly can any1 explain??
Which language is not a true object oriented programming language?