Cognizant interview question

WAP to reverse number