Cognizant interview question

Given some code to write, and asked for a few explanations on them

Interview Answer

Anonymous

10 Aug 2016

AS per my knowledge