download Mastguru Android App

Question Detail

Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined
Similar Questions :

1. How we can define member function outside the class ?

  • Using union
  • Using structure
  • Using pointers
  • Using scope resolution

2. 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

3. We can do constructor overloading in C++ ?

  • True
  • False

4. What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve

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