0 votes 0 votes program in c to reverse a number with all 0's and 1's or a binary no.? AIkiran01 asked Jun 5, 2017 AIkiran01 261 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Since in binary numbers there may be leading zero like numbers (eg. 100100,110) . So you cant reverse a leading zero like numbers. You will have to use character. but if you know the length of a number you can reverse in this way. Go through this link for more detailed clarification. https://stackoverflow.com/questions/4166886/reverse-of-a-number-with-leading-zeroes amuchand47 answered Jun 5, 2017 amuchand47 comment Share Follow See all 0 reply Please log in or register to add a comment.