Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


#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];
}



#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=..

Answer / pratiksha21

answer is 6

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More OOPS Interview Questions

what i oops concept, how many languages supports oops concept?

3 Answers   Value Labs,


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!!!)

0 Answers   HCL,


can you give real time example for polymarphism

5 Answers   TCS,


What is public, protected, private?

6 Answers   IBS, Satyam,


What is overloading and its types?

0 Answers  


What is multilevel inheritance explain with example?

0 Answers  


to find out the minimum of two integer number of two different classes using friend function

0 Answers  


What is abstraction example?

0 Answers  


What is a macro? And how is a macro same as a template?

4 Answers  


how does a main() in C++ is different from main() in C?

7 Answers  


What is the significance of classes in oop?

0 Answers  


What is the difference between C++ and java?

6 Answers   Atos Origin,


Categories