View Single Post
  #1 (permalink)  
Old 12-11-2007, 08:01 AM
revathi17 revathi17 is offline
Member
 
Join Date: Aug 2007
Posts: 22
revathi17 is on a distinguished road
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
Reply With Quote
Sponsored Links