What are vtable and vptr?
No Answer is Posted For this Question
Be the First to Post Answer
an integer constant must have atleast one a) character b) digit c) decimal point
What are the basics concepts of OOPS?
When a function is made inline. Write the situation where inline functions may not work.
Consider the following code fragment: int main(void) { int m = 4; mystery ( m ); mystery ( m ); printf("%d", m); return 0; } What is the output on the monitor if mystery is defined as follows ? void mystery (int m) { m = m+3; }
What is the history of c++?
what is the C++
What is a concrete class?
In C++ cout is: a) object b) class c) something else
11 Answers Infosys, Lehman Brothers,
What is the default access level?
What is the output of the following program? Why?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
Define a nested class.