Infosys Interview Question

The output of a code. Puzzles based on logical thinking