#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];
}
Write a program to demonstrate the use of 'Composition' in C++
Write a program in c++ to read two floating point numbers and find their sum and average.
What is the concept of object oriented program?
Name an advantage of array over linked list?
24 Answers GML, IBM, Software Solutions,
Why do pointers exist?
what is difference between objects and function
What is deep and shalow copy?
What is the difference between declaration and definition?
What is encapsulation oop?
Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?
What are two types of polymorphism?
Describe the difference between a Thread and a Process?