Siemens interview question

C++ concepts explanation with a program, oops concepts etc