Pregunta de entrevista de Logiscool

basic c questions and some algorithm