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++?



What is this pointer in c++?..

Answer / 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

More C++ General Interview Questions

Write a C++ Program to Generate Random Numbers between 0 and 100

1 Answers  


What are the differences between the function prototype and the function defi-nition?

0 Answers  


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

0 Answers  


Differentiate between a copy constructor and an overloaded assignment operator.

0 Answers  


Can create new c++ operators?

0 Answers  


Where is atoi defined?

0 Answers  


Why is the function main() special?

0 Answers  


What is the use of 'this' pointer?

0 Answers   Fidelity,


Explain what data encapsulation is in c++?

0 Answers  


Do vectors start at 0 c++?

0 Answers  


Write a function that swaps the values of two integers, using int* as the argument type?

0 Answers  


Explain the concept of inheritance in C++.

3 Answers  


Categories