admin@onlinelearningcenter.in (+91) 7 999 01 02 03

Reverse of a Number

Kopal Jaiswal
561 Posts

WAP to reverse the digits of a 32 bit signed integer

Examples:

Input: 123                                         Output: 321

Input: -123                                        Output: -321

Input: 120                                         Output: 21

Published By : Kopal Jaiswal
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Comments

Jquery Comments Plugin