What is the syntax of inheritance of class?
(a) class name
(b) class name: access specifier
(c) class name: access specifier class name
(d) access specifier class name
I had been asked this question in a national level competition.
The above asked question is from Design of Class Hierarchies in portion Derived Classes, Templates & Exception Handling in C++ of C++