Siemens interview question

C++, OOPS Concepts, Multithreading