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

How to demonstrate the use of a variable?

1159


Explain deep copy and a shallow copy?

1114


Describe public access specifiers?

1159


How many types of comments are there in c++?

1049


What are the different types of comments allowed in c++?

1026


Why do we use constructor?

1110


How many types of modularization are there in c++?

1120


What are c++ tokens?

1112


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

1127


What is a template in c++?

1965


Explain how to initialize a const data member.

1175


To what does “event-driven” refer?

1110


Which software is used to run c++ program?

1043


What is heap sort in c++?

1130


What is lazy initialization in c++?

1153