Why is c++ still best?
No Answer is Posted For this Question
Be the First to Post Answer
Define virtual constructor.
How to change constant values?
How does class accomplish data hiding in c++?
What is namespace & why it is used in c++?
What is the error in the code below and how should it be corrected?
What do you mean by friend class & friend function in c++?
Write a recursive program to calculate factorial 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.
Why c++ does not have finally?
Describe the setting up of my member functions to avoid overriding by the derived class?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
What are the static members and static member functions?