#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 i oops concept, how many languages supports oops concept?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
can you give real time example for polymarphism
What is public, protected, private?
What is overloading and its types?
What is multilevel inheritance explain with example?
to find out the minimum of two integer number of two different classes using friend function
What is abstraction example?
What is a macro? And how is a macro same as a template?
how does a main() in C++ is different from main() in C?
What is the significance of classes in oop?
What is the difference between C++ and java?