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

removing duplicate elements of array

Discussion in 'C' started by paraskailu, Aug 21, 2009.

  1. paraskailu

    paraskailu New Member

    Joined:
    Aug 21, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    tell me the program code in c for removing duplicate elements of an array.
     
  2. mayjune

    mayjune New Member

    Joined:
    Jun 14, 2009
    Messages:
    817
    Likes Received:
    33
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    Pune,Delhi
    We wont tell you if you dont try it..
    I'll give you a hint though :-
    you need just two for/while loops to do this...and a if condition to check if its repeated, if it is overwirte the rest of array and repeat this till the end..
    Think, else you won't undestand what is programming if we just tell you how to...
     

Share This Page