First of all, the interviewer (younger than expected) asked my introduction, my strengths and weaknesses. He then asked about some oops concepts like inheritance, encapsulation, abstraction, polymorphism, difference between function overloading and function overriding, friend function etc. and told me to write a half pyramid program of five rows using prime numbers.