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

What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined

7 Answers  


What is destructor oops?

0 Answers  


what is Class in oops with example?

4 Answers   HCL,


What is virtual destructor? Why?

3 Answers   Agile Software, College School Exams Tests, CSC,


#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile

1 Answers   CTS, Wipro,






What is the problem with multiple inheritance?

0 Answers  


What is balance factor?

0 Answers  


swapping program does not use third variable

5 Answers   TCS,


What are generic functions and generic classes?

5 Answers  


Can static class have constructor?

0 Answers  


what isthe difference between c structure and c++ class

5 Answers  


What do you mean by abstraction?

0 Answers  


Categories