Pregunta de entrevista de Wipro

Basic C programming and some logical puzzles