Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

print duplicates

  1. H

    Duplicates in Arrays, in C

    So I have a code, where first I tried an finde the duplicates and then I need to count them and give them out put every single one. For example is my int src {5, 3, 5, 4, 4, 5} my output should as followed: Number of Duplicates: 5 5,5,4,4,5 This is my code: #include <stdio.h> #include...
Back
Top Bottom