Home » Technical Questions » Programming

Write a c program for binary search.

Correct Answer: #include int main(){ int a[10],i,n,m,c=0,l,u,mid; printf("Enter the size of an array: "); scanf("%d",&n); printf("Enter the elements in ascending order: "); for(i=0;i

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion