Cisco interview question

C++ inheritance