download Mastguru Android App

Question Detail

& operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or
Similar Questions :

1. What is actual syntax of destructor in c++ ?

  • !Classname( )
  • @Classname( )
  • $Classname( )
  • ~Classname( )

2. Can we define array of classes in c++ ?

  • Yes
  • No

3. The derived class constructor

  • never passes any values to base class constructor
  • can pass arguments only to one base class constructor function
  • is responsible for passing the entire test of arguments needed by base class constructors
  • none of above

4. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

5. 78. If new operator is used, then the constructor function is ?

  • Copy constructor
  • Default constructor
  • Static constructor
  • Dynamic constructor
Read more from - C++ Programming Questions Answers - Set 2
Post a comment