What do we mean by a hidden argument in a function?

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 ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Get me a number puzzle game-program

1696


Write a c++ program to display pass and fail for three student using static member function

2820


What are constructors in oop?

598


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

2764


Prepare me a program for the animation of train

2005






Templates mean

1592


Who invented oop?

659


Why do while loop is used?

579


What does sksksk mean in text slang?

1541


What is difference between polymorphism and inheritance?

621


What is pure oop?

599


What is encapsulation in oops?

541


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2578


What is the point of polymorphism?

592


What is abstract class in oops?

603