This example will show you how to search an element in an Array using C program.

The below search function takes four arguments

*a – pointer to an array

n – size of the array

k – the element to be searched in array

Example

Output

Thanks for reading.

Software Professional, I am passionate to work on web/enterprise application. For more information please go to about me. You can follow on Twitter. You can be a friend on Facebook or Google Plus or Linkedin

Leave a Reply

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

Time limit is exhausted. Please reload CAPTCHA.