Answer Posted / madhu
'this' pointer is created when you create an object with
dynamic memory allocation. 'this' pointer will be created at
the time of object creation.
It holds the current object's address.
'this' cannot be used inside the static or a friend functions.
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
What are oops functions?
What are the three parts of a simple empty class?
What is polymorphism and its types?
What is overriding vs overloading?
What is the types of inheritance?
What does and I oop and sksksk mean?
Why is object oriented programming so hard?
What is encapsulation and abstraction? How are they implemented in C++?
Can a varargs method be overloaded?
Why do pointers exist?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
How can you overcome the diamond problem in inheritance?
What is polymorphism and why is it important?
What is destructor oops?
What is destructor in oop?