Sarathy interview question

Write c program to reverse a number