Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   removing duplicate elements of array (http://www.go4expert.com/forums/removing-duplicate-elements-array-t19124/)

paraskailu 21Aug2009 21:39

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

mayjune 21Aug2009 22:44

Re: removing duplicate elements of array
 
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...


All times are GMT +5.5. The time now is 22:44.