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

What is the use of header?

1059


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

1179


By using C language input a date into it and if it is right?

1032


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1095


How do shell structures work?

1078


Can a program have two main functions?

1074


Can include files be nested? How many levels deep can include files be nested?

1101


How to delete a node from linked list w/o using collectons?

2739


Is swift based on c?

1062


Where are c variables stored in memory?

1031


What is the full form of getch?

1200


What is #include called?

1004


Can include files be nested?

1065


What functions are used for dynamic memory allocation in c language?

1094


write a program to copy the string using switch case?

2856