Hackerrank Virtual Functions Solution
.MathJax_SVG_LineBox {display: table!important} .MathJax_SVG_LineBox span {display: table-cell!important; width: 10000em!important; min-width: 0; max-width: none; padding: 0; border: 0; margin: 0}
This problem is to get you familiar with virtual functions. Create three classes Person, Professor and Student. The class Person should have data members