Coding help for C programming

Discussion in 'Meet and Greet' started by sumedh yadav, Aug 18, 2012.

  1. sumedh yadav

    sumedh yadav New Member

    Aug 18, 2012
    Likes Received:
    Trophy Points:
    please provide coding for C programming : consider an integer which takes output as 1 or 0's only.rearrange the integer such that all 0's are preceded by all 1's in that integer.

    Sample input :01001110011
    Output: 00000111111

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice