Sorting digits of an integer

Posted by nthrgeek on Stack Overflow See other posts from Stack Overflow or by nthrgeek
Published on 2010-01-25T06:57:53Z Indexed on 2010/03/13 16:05 UTC
Read the original article Hit count: 119

Filed under:
|
|
|

You are given an integer 51234 (say) we need to sort the digits of a number the output will be 12345.

How to do it without using array ?

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++