Capgemini Engineering interview question

Questions from OOP, C/C++, OS and Database