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

Explain virtual inheritance?

780


What is inheritance in oop?

682


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6245


What is encapsulation and abstraction? How are they implemented in C++?

718


What is inheritance and how many types of inheritance?

706






Why oops is important?

687


What is ambiguity in inheritance?

706


What is a class in oop?

677


What is oops?what is its use in software engineering?

630


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1881


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.

2674


What is object in oop with example?

818


Is oop better than procedural?

657


Why multiple inheritance is not allowed?

684


What is polymorphism and types?

679