Which is correct syntax of inheritance in C++?
Asked In: BPSC TRE 1.0Options
- A. class Base : access Derived { };
- B. class Derived : public Base { };
- C. class Derived : Base { };
- D. More than one of the above
- E. None of the above
Quiz Practice:
D. More than one of the above