Question Detail

Which of the following keywords are used to control access to a class member ?

  • protected
  • switch
  • goto
  • for
Similar Questions :

1. Queues are based on ?

  • LIFO
  • FIFO
  • LILO
  • FILO

2. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

3. && means ?

  • Logical OR
  • Bitwise OR
  • Logical AND
  • Bitwise AND

4. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

5. Explicit call to a constructor means ?

  • Not providing the construction name at all
  • Is the shorthand method
  • Providing the constructor name explicitly to invoke it
  • Providing the constructor name implicitly to invoke it
Read more from - C++ Programming Questions Answers - Set 2