Pregunta de entrevista de Tata Consultancy Services (North America)

Write a program to reverse an integer.