Autodesk interview question

Basic OOP concepts in C++