download Mastguru Android App

Question Detail

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

  • Calloc
  • Malloc
  • Sizeof
  • Realloc
Similar Questions :

1. Classes that can be used to instantiate objects are called concrete classes.

  • True
  • False

2. The objects can directly access ?

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

3. The major goal of inheritance in C++ is ?

  • To facilitate the reusability of code
  • To help modular programming
  • To facilitate the conversion of data types
  • To extend the capabilities of a class

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

  • multiple inheritance
  • multilevel inheritance
  • default inheritance
  • multiplex inheritance

5. The private data members of a class are accessible ?

  • Directly to objects of that class
  • To any function defined outside a class
  • Only to the member functions
  • Only using keyword static
Read more from - C++ Programming Questions Answers - Set 2
Post a comment