answersLogoWhite

0


Best Answer

Assuming that the input has already been put into an int[] array, the function to remove duplicates will operate as follows. The function will create an output array that will accept each first unique int of the input array. A comparator will compare each following cell, ignoring duplicates until the end of the array is reached. The output array will then be printed.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a C function to remove duplicates from an ordered array for example if input is 11134458810 then output should be 1345810?
Write your answer...
Submit
Still have questions?
magnify glass
imp