#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 polymorphism used for?
Can bst contain duplicates?
What is abstraction encapsulation?
Whats is abstraction in oops?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
what are the realtime excercises in C++?
What is destructor in oop?
How oops is better than procedural?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is polymorphism and its types?
What is pointer in oop?
What does no cap mean?
Explain the concepts involved in Object Oriented programming.
Write a c++ program to display pass and fail for three student using static member function
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).