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 is class in oop with example?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What are classes oop?
What is overriding in oop?
What is the difference between static polymorphism and dynamic polymorphism?
What is data binding in oops?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Why multiple inheritance is not possible?
What is difference between multiple inheritance and multilevel inheritance?
What is the renewal class?
What does it mean when someone says I oop?
How long to learn object oriented programming?
What is the main feature of oop?
Can a destructor be called directly?
Why do we use oop?