Microsoft Interview Question

In technical I they asked about OOPS,virtual function,overiding and overloading .Then the interviewer gave me a code to do followed by a discussion on projects.