Capgemini Engineering interview question

Some technical questions like pointers