Why do we use classes in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What are destructors?
Explain about templates of 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 are move semantics?
What is the Diffrence between a "assignment operator" and a "copy constructor"?
Difference between declaration and definition of a variable.
What is dynamic and static typing?
What is the insertion operator and what does it do?
What is object file? How can you access object file?
How a modifier is similar to mutator?
What do you mean by abstraction. Explain your answer?
What is a storage class in C++