download Mastguru Android App

Question Detail

Even if we define a function in a class, then also we need to declare it first.

  • True
  • False
Similar Questions :

1. Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above

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

  • Copy constructor
  • Default constructor
  • Static constructor
  • Dynamic constructor

3. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above

4. A class having no public constructors is

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

5. When a derived class inherits from many base classes, this process is known as ?

  • multiple inheritance
  • multilevel inheritance
  • default inheritance
  • multiplex inheritance
Read more from - C++ Programming Questions Answers - Set 2
Post a comment