Domanda di colloquio di Infosys

Basic coding problems and c++ language question