- It can also be done by using the number as string instead of integer. - It will be helpful especially for long integers. - And if the unit place is 0, it will be included in the reverse number on using string. - The above program will exclude the unit place 0 or MSB digit 0.