Now it need another condition I found that!!
[php] int bs(int array[],int n,int key) { int mid,low=0,high=(n-1); mid=n/2; printf("high:%d--low:%d\n",high,low); if(array[mid]...
I know, I want to change it to another function like : int search(int a[], int key, int n) but recursive and n is number elements in array....
I know, I want to change it to another function like : int search(int a[], int key, int n) but recursive and n is number elements in array. How...
I know this code for binary search int search(int a[], int key, int low, int high) { if (high < low) { return NOT_FOUND; }...
Separate names with a comma.