Nokia Interview Question

How to reverse a int?