Infosys Interview Question

Basic coding problems and c++ language question