Question Detail

When one class inherits from the base class, then the original class is called ?

  • derived class
  • base class
  • sub class
  • basic class
Similar Questions :

1. Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer

2. The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above

3. How we can access data members using objects ?

  • object@datamember
  • object*datamember
  • object->datamember
  • object.datamember

4. Among following which will give the size of object or type ?

  • Calloc
  • Malloc
  • Sizeof
  • Realloc

5. The antonym of constructor is ?

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