Question Detail

All members of class have which access to its members

  • private
  • public
  • protected
  • depends
Similar Questions :

1. Which of the following type of class allows only one object of it to be created

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class

2. What is inheritance

  • Inheritance allows one class to reuse the state and behavior of another class.
  • It deals with dangling pointers
  • It deals with void pointers
  • It is type of class declaration

3. Which arithmetic operation can be done in pointer

  • Multiplication
  • Division
  • Addition
  • None of above

4. Which is not C++ storage class

  • auto
  • register
  • static
  • iostream

5. Which operator is used to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>
Read more from - C++ Programming Questions Answers - Chapter 1