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
What is the use of header?
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
By using C language input a date into it and if it is right?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
How do shell structures work?
Can a program have two main functions?
Can include files be nested? How many levels deep can include files be nested?
How to delete a node from linked list w/o using collectons?
Is swift based on c?
Where are c variables stored in memory?
What is the full form of getch?
What is #include called?
Can include files be nested?
What functions are used for dynamic memory allocation in c language?
write a program to copy the string using switch case?