Pergunta de entrevista da empresa NTT DATA

Few Puzzles, basic c programs