Which of the following describes the protected access specifier?
(a) The variable is visible only outside inside the block
(b) The variable is visible everywhere
(c) The variable is visible to its block and to it’s derived class
(d) The variable is not visible to its block
I have been asked this question during a job interview.
My question is based upon Access Control in section Class Hierarchies, Library & Containers of C++