Question Detail

All members of class have which access to its members

  • private
  • public
  • protected
  • depends
Similar Questions :

1. Difference between static and dynamic memory allocation is

  • In static memory allocation memory to be allocated in preknown
  • In dynamic memory allocation memory to be allocated in preknown
  • There is no differnece
  • Not exact difference is mentioned

2. Declaring pointer more than one can cause

  • Trap
  • abort a program
  • error
  • none of above

3. Which type of variables can be referred from anywhere in the c++ code

  • All variables
  • Local variables
  • Universal variables
  • Global variables

4. Dereference operator is also called as

  • pointer
  • Reference operator
  • Offset operator
  • Deoffset operator

5. Which arithmetic operation can be done in pointer

  • Multiplication
  • Division
  • Addition
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1