Pregunta de entrevista de Tata Consultancy Services

some basic c question , along with random chat