Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #37.0K
~313 People Reached
Favorite Forums
Favorite Tags
c x 5

1 Posted Topic

Member Avatar for prasanthsagar

[CODE]int unique(int *array, int number) //sorted array { int k = 0; for (int i = 1; i < n; i++) { if (a[k] != a[i]) { //comparing the first 2 unequal numbers a[k+1] = a[i]; //shifting to the left if distinct k++; } } return (k+1); //return the last …

Member Avatar for N1GHTS
0
313

The End.