Describe private, protected and public?
No Answer is Posted For this Question
Be the First to Post Answer
What is namespace & why it is used in c++?
What are the basics concepts of OOPS?
When volatile can be used?
What is c++ flowchart?
What language does google use?
Define 'std'.
Why c++ is created?
What are the different operators in C++?
class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.
What is the size of a vector?
List the advantages of inheritance.
What is the full form of stl in c++?