Infosys interview question

There is one programming question(reverse a number) as well.