How java is different from c and c++?
No Answer is Posted For this Question
Be the First to Post Answer
How to implement is-a and has-a class relationships?
What is a float in c++?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
What is flag in computer?
What happens when a function throws an exception that was not specified by an exception specification for this function?
What is c++ library?
How can I learn c++ easily?
What is a far pointer? where we use it?
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.
Is c++ slower than c?
Does c++ have finally?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?