Default visibility mode is private - C++
Q. C++: During a class inheritance in CPP, if the visibility mode or mode of derivation is not provided, then by default visibility mode is___________.
- Published on 29 Jun 15a. public
b. protected
c. private
d. friend
ANSWER: private
The private keyword specifies that the members are accessible only from member functions and friends of the class.