C Program to Search an element in Array

In this post we will see C Program to Search an element in Array.
Here is simple program to search an element in Array.

Output:

Enter no of elements :4

Enter the array values :100
200
300
400

Enter the element to be searched :300
element found at the location = 3

That’s all about C program to search an element in array.

Leave a Reply

Your email address will not be published. Required fields are marked *