Home » C++ Programming » Modifier Types » Question
  1. What of the following describes protected access specifier?
    1. The variable is visible everywhere
    2. The variable is visible to its block and to it’s derived class
    3. The variable is visible only outside inside the block
    4. All of above
    5. None of these
Correct Option: B

The variable is visible to its block and to it’s derived class



Your comments will be displayed only after manual approval.