Thread
:
Unique element in an array
View Single Post
#
1
(
permalink
)
12-11-2007, 08:01 AM
revathi17
Member
Join Date: Aug 2007
Posts: 22
Unique element in an array
Hello there,
Given an array int a[] = {10,11,12,13,10,11}. I want to print out the unique elements and the count of duplicates in this array.
Can someone help me find this. I am kind of stuck in the logic.
Thanks,
-R
Sponsored Links
revathi17
View Public Profile
Send a private message to revathi17
Find all posts by revathi17