C program to find a number from array elements
In this program, we are reading an array of integers and a number to find it from the given array elements.
Example:
Input array elements are:
10, 20, 30, 40, 50
Element to find: 30
Output:
30 found at 2 index.
Input array elements are:
10, 20, 30, 40, 50
Element to find: 70
Output:
70 does not exists in the array.
Program:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer