download Mastguru Android App

Question Detail

What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends
Similar Questions :

1. A Variable __ of void type.

  • May be declared
  • Can be initialized
  • Cannot be intialized
  • Cannot be declared

2. What is purpose of abstract class ?

  • to provide help with database connectivity.
  • to provide data input to other classes.
  • to provide security to other classes.
  • to provide an appropriate base class from which other classes can inherit.

3. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

4. Operator overloading is ?

  • giving new meaning to existing c++ operators
  • making c++ operators work with objects
  • giving c++ operators more than they can handle
  • making new c++ operators

5. Enumerator will allocate the memory when its variables are defined.

  • True
  • False
Read more from - C++ Programming Questions Answers - Set 2
Post a comment