Pergunta de entrevista da empresa Wipro

Basic C programming and some logical puzzles