What is protected inheritance?
List the special characteristics of constructor.
what are the types of Member Functions?
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 an explicit constructor?
What are the different data types present in C++?
Can you write a function similar to printf()?
Write a corrected statement in c++ so that the statement will work properly. x =+ 7;
Which software is best for programming?
Explain the difference between class and struct in c++?
Explain calling an object's member function(declared virtual)from its constructor?
Write a Program to find the largest of 4 no using macros.
What are the two types of comments?