Capgemini Engineering Interview Question

basics from c,c++, ds, os