Which is the parameter that is added to every non-static
member function when it is called?
Answer Posted / arun
"this" (i.e. Pointer to the object which call the member
function) is passed as the argument when a member function
is called.
Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
Why interface is used?
what is different between oops and c++
what is the sylabus for priliminaries?
What is protected in 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 type of questions
What does no cap mean?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What are oops methods?
What does and I oop mean?
What is overriding in oops?
when to use 'mutable' keyword and when to use 'const cast' in c++
Why is destructor used?
How to call a non virtual function in the derived class by using base class pointer
What is difference between data abstraction and encapsulation?