Domanda di colloquio di Cognizant

Common question about some basic programming