Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program to remove duplicate from an ordered char array? in c

Answer Posted / shailesh

i m giving simlpe logic here.first sort the characters and
in a array. then check if a[i]==a[i+1],if yes, then move 1
place ahead i the arrray.

Is This Answer Correct ?    5 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c weakly typed?

968


what is event driven software and what is procedural driven software?

2509


What is string in c language?

1075


What does the characters “r” and “w” mean when writing programs that will make use of files?

1422


What's the difference between constant char *p and char * constant p?

1089


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2277


What is clrscr in c?

1074


Is exit(status) truly equivalent to returning the same status from main?

1008


What is #include stdio h and #include conio h?

1040


What is dangling pointer in c?

1133


What are identifiers c?

1020


Explain what is the purpose of "extern" keyword in a function declaration?

1029


Why we use conio h in c?

1155


What are the differences between Structures and Arrays?

1130


Why do we need a structure?

980