PROGRAM TO PERFORM BINARY SEARCH
/*PROGRAM TO PERFORM BINARY SEARCH*/ #include<stdio.h> #include<conio.h> void main() { int n,srch,i,j,a[10],temp,high,low=0,mid=0; clrscr(); printf(“Enter the size of array: “); scanf(“%d”,&n); printf(“Enter %d elements in the array:\n”,n); for(i=0;i<n;i++) scanf(“%d”,&a[i]); /*SORTING STARTS*/ …