Which is the parameter that is added to every non-static
member function when it is called?
Answer Posted / manish kumar
(this) pointer is added.
this pointer contains the address of the object through
which function is called.
this->data member will give the data of the object.
| Is This Answer Correct ? | 49 Yes | 4 No |
Post New Answer View All Answers
what's the basic's in dot net
What is a superclass in oop?
What is abstract class in oops?
Is html an oop?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is class and object with example?
What is a null tree?
Which is better struts or spring?
What is static modifier?
What is the difference between abstraction and polymorphism?
Write a program to sort the number with different sorts in one program ??
What is the real time example of inheritance?
Why is object oriented programming so hard?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)