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



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

Answer / 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

More OOPS Interview Questions

Whats is abstraction in oops?

0 Answers  


What is function overloading and operator overloading?

4 Answers  


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

0 Answers  


write a program for function overloading?

14 Answers   HCL, InfoCity, TATA,


who is the founder of c++?

15 Answers   Hexaware, ONGC,






Is oop better than procedural?

0 Answers  


How compiler selects(internally) required overridden function in inheritance?

2 Answers   CSC, Infinite Computer Solutions,


What is virtual Function.

1 Answers   Wipro,


Why is polymorphism used?

0 Answers  


Can private class be inherited?

0 Answers  


what is pointers

7 Answers   Exilant,


what is data abstraction with example.

1 Answers  


Categories