CitiusTech interview question

WAP to reverse a number