Posts Tagged: program to find number in an array

How to search element in an array.

Let’s write a program to search number in Array.   Step 1: Let’s open turbo c/c++ and write the following code .   \Add preprocessor   #include<stdio.h> #include<conio.h> void main() { // Declare variable      long  int a[5],i,element,f=0; //Clear… Continue Reading →