Siemens Interview Question

Some basic question about C/C++.