Capgemini Interview Question

Questions related to Logic and Reasoning of Java/C/C++ Languages