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
How to demonstrate the use of a variable?
Explain deep copy and a shallow copy?
Describe public access specifiers?
How many types of comments are there in c++?
What are the different types of comments allowed in c++?
Why do we use constructor?
How many types of modularization are there in c++?
What are c++ tokens?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
What is a template in c++?
Explain how to initialize a const data member.
To what does “event-driven” refer?
Which software is used to run c++ program?
What is heap sort in c++?
What is lazy initialization in c++?