download Mastguru Android App

Question Detail

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

  • Calloc
  • Malloc
  • Sizeof
  • Realloc
Similar Questions :

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

2. Inheritance is referred to as

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

3. Only one copy of the class is inherited, when it is defined as ?

  • virtual
  • public
  • static
  • private

4. The process of deriving a class from another derived class is known as ?

  • single inheritance
  • dual inheritance
  • multiple inheritance
  • multilevel inheritance

5. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment