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;
struct wow {
int x;
};
int main() {
wow a;
wow *b;
a.x = 22;
b = &a;
a.x = 23;
cout << b->x;
return 0;
}



#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow..

Answer / tiger

23

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is difference between abstraction and encapsulation?

0 Answers  


What is data binding in oops?

0 Answers  


why to use template classes in c++?

1 Answers  


What is polymorphism ? Explain with examples

8 Answers   Ness Technologies,


Is this job good for future? can do this job post grduate student?

0 Answers  


What is the difference between Home and $Home?

2 Answers   TCS,


What is the use of fflush(stdin) in c++?

4 Answers   HCL,


what about you? wahat is your object? introduce your self?

1 Answers   Ajmal Perfumes, TCS,


suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?

3 Answers   EA Electronic Arts,


What is data binding?

4 Answers   Ittiam Systems,


What is multiple inheritance ?

17 Answers   Blue Star, C DAC, CDAC, Impetus, Ness Technologies, Softvision Solution,


What is an orthogonal base class?

2 Answers  


Categories