0 Reputation Points
17% Quality Score
- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 10
- Posts with Downvotes
- 5
- Downvoting Members
- 6
3 Posted Topics
Re: answer this plz
use this one... #include<stdio.h> main() { printf("i am an engg"), getchar(); }
hey i tried to make a program to find an item in an integer array using binary search technique n by iteration with the help of functions...but i am getting errors....so plz help me out..
hey m a new user so didnt knw it... nywyas here's the program i made.. /*A PROGRAM TO SEARCH AN ELEMENT IN 1D ARRAY USING BINARY SEARCH USING ITERATION*/ #include<stdio.h> #include<conio.h> void binary(int array[],int n,int ele) { int beg=0; int end=n-1; int mid; mid=(beg+end)/2; while((beg<=end)&&(array[mid]!=ele)) { if(ele>array[mid]) beg=mid+1; else end=mid-1; …
The End.
vandna