Pergunta de entrevista da empresa Amdocs

simple c programing code as i was fresher