Binary Search

Hello every body...i want to ask that whether if we can do binary search without using a function?? if it is possible then how can it be....and also which method is more suitable...
what do you mean by without using a function?u want to do it in main()?please elaborate.
By "without using a function" do you mean without using something from a standard library?
right krakissi..........i dont want to use any function neither predefined nor user defined.......make me clear one point, in binary search, i think we just tell that where a given number is present...in which half of the arary....m i right???
Topic archived. No new replies allowed.