1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

removing duplicate elements of array

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

  1. paraskailu

    paraskailu New Member

    tell me the program code in c for removing duplicate elements of an array.
     
  2. mayjune

    mayjune New Member

    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