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 type of questions arrive in interview over c programming?
What is modeling?
What is restrict keyword in c?
c program for searching a student details among 10 student details
Here is a neat trick for checking whether two strings are equal
What do you mean by c?
What does 3 mean in texting?
How will you write a code for accessing the length of an array without assigning it to another variable?
What are identifiers c?
Is there a way to switch on strings?
Is null valid for pointers to functions?
How can you increase the allowable number of simultaneously open files?
How can I remove the leading spaces from a string?
How to define structures? ·
List some of the static data structures in C?