Honeywell interview question

virtual function in c++ and c