When a private constructer is being inherited from one
class to another class and when the object is instantiated
is the space reserved for this private variable in the
memory??
Answers were Sorted based on User's Feedback
What are objects in oop?
What is the use of fflush(stdin) in c++?
What is Method overloading?
What is abstraction with example?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is oops and its features?
Can you name some types of inheritance?
What is overriding in oop?
What is abstraction in oops with example?
What is this interview room ? Is it a class or an object.
What is sub classing in c++?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash