Pregunta de entrevista de Amdocs

simple c programing code as i was fresher