1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Coding help for C programming

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

  1. sumedh yadav

    sumedh yadav New Member

    Joined:
    Aug 18, 2012
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    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