Apps Associates interview question

Write a Program to Reverse a number?