Infosys Interview Question

Basic question of C