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
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Why do we use class in oops?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< #include What is oops in programming? What is encapsulation oop? What is encapsulation and abstraction? How are they implemented in C++? What is Difference Between Inheritance and creating object
and getting data? means
Class A extends B{
B.getMethod();}
(OR)
Class A{
b obj=new B();
obj.getMethod();
} What is overloading in oop? what is the sylabus for priliminaries? What is encapsulation with real life example? What is encapsulation c#? Whats is abstraction in oops? What is ambiguity in inheritance? What is difference between multiple inheritance and multilevel inheritance?