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...

What is this pointer in c++?

Answer Posted / hrpynux@gmail.com

Every object in C++ has access to its own address through an important pointer called this pointer. The this pointer is an implicit parameter to all member functions. Therefore, inside a member function, this may be used to refer to the invoking object. ... Only member functions have a this pointer.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a sequence in c++?

1021


Explain function overloading

1020


What is fflush c++?

1025


Difference between struct and class in terms of access modifier.

1195


what is Loop function? What are different types of Loops?

1232


What is the identity function in c++? How is it useful?

1054


Give example of a pure virtual function in c++?

1174


What's the order in which the objects in an array are destructed?

1416


Is eclipse good for c++?

1056


What is a c++ map?

1408


Can class objects be passed as function arguments?

1067


Explain static and dynamic memory allocation with an example each.

1110


What are stacks? Give an example where they are useful.

1062


What is the use of volatile variable?

1087


What are the basics of local (auto) objects?

1146