What do we mean by a hidden argument in C++?

Answer Posted / santosh mundhe

"this" pointer...

when u call a member function using object, a
implicit argument (hidden argument) is passed to the member
function is nothing but this pointer.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can main method override?

583


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1662


what are the different types of qualifier in java?

1840


What is a null tree?

628


What is encapsulation in simple terms?

535






what is the sylabus for priliminaries?

1685


What is use of overloading?

606


What is coupling in oops?

594


2. Give the different notations for the class.\

1587


What is the types of inheritance?

602


What is a class oop?

592


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.

693


What is the difference between a mixin and inheritance?

519


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

1618


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2102