What is function declaration in c++ with example?
No Answer is Posted For this Question
Be the First to Post Answer
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 jump statement in C++?
Can create new c++ operators?
Ask to write virtual base class code?
What are the benefits of oop in c++?
How many namespaces are there in c++?
Explain selection sorting?
How do you generate a random number in c++?
What are the three forms of cin.get() and what are their differences?
Describe exception handling concept with an example?
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4
What do you mean by late binding?