download Mastguru Android App

Question Detail

Which operators can not be overloaded ?

  • Binary operator
  • Ternary operator
  • Unary operator
  • All can be overloaded
Similar Questions :

1. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class

2. What is purpose of abstract class ?

  • to provide help with database connectivity.
  • to provide data input to other classes.
  • to provide security to other classes.
  • to provide an appropriate base class from which other classes can inherit.

3. Data members and member functions are enclosed within ?

  • union
  • structure
  • class
  • array

4. Which among following is correct way of declaring object of a class ?

  • Classname Objectname;
  • Class Classname Objectname;
  • Class Classname Object Objectname;
  • Classname Object Objectname;

5. The antonym of constructor is ?

  • Creator
  • Distinct
  • Destroyer
  • Destructor
Read more from - C++ Programming Questions Answers - Set 2
Post a comment