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
Is c easy to learn?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Can you tell me how to check whether a linked list is circular?
What does != Mean in c?
Do you know the difference between exit() and _exit() function in c?
What is the difference between mpi and openmp?
Explain the concept and use of type void.
Difference between macros and inline functions? Can a function be forced as inline?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Differentiate between functions getch() and getche().
Write a program with dynamically allocation of variable.
Can you add pointers together? Why would you?
How can I change the size of the dynamically allocated array?
How many main () function we can have in a project?
What header files do I need in order to define the standard library functions I use?