Apps Associates Interview Question

Write a Program to Reverse a number?