What is default access specifier for data members or member functions declared within a class without any specifier, in C++?
(a) Private
(b) Protected
(c) Public
(d) Depends on compiler
I got this question in my homework.
This intriguing question originated from Classes in chapter OOPs Concept & Features of Object Oriented Programming