C program to find the first repeated element in an array
This program will read an integer one dimensional array and find the first repeated element. Let suppose there are 5 elements in an array 10, 20, 30, 20, 40. Here element 20 repeated at 3rd index (count starts from 0).

Program to find first repeated element in C
Output
need an explanation for this answer? contact us directly to get an explanation for this answer