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 are the desirable attributes for memory managment?

0 Answers  


what is ns string? what is ns array?

1 Answers  


What is difference between multiple inheritance and multilevel inheritance?

0 Answers  


What type of loop is a for loop?

0 Answers  


What is an orthogonal base class?

2 Answers  


Which method cannot be overridden?

0 Answers  


write a progra in c++ using class & object to find out wheather a given no. is prim or not.

2 Answers  


Does c++ support multilevel and multiple inheritance?

9 Answers   IBS, Wipro,


why oops need in programming

7 Answers   TCS,


Can we have a private constructor ?

12 Answers   HSBC, Ness Technologies, TCS, Wipro,


We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?

8 Answers   IBM, Sage, Vertex,


Which is not an object oriented programming language?

0 Answers  


Categories