+ 3
Write a C program to find the total number of distinct elements in a sorted array?
It is purely related to arrays concept. For example 3 3 3 3 76 98 The answer must be 3. Please answer fast!
2 Answers
+ 3
you must check on the same numbers with "if" and if number == number then return number
0
Remember to post always your attempt or ask only for how does the work and not for a ready solution