Autodesk interview question

How can you achieve Inheritance in C++ programming?