bsearch will look for an item in a list by performing a binry chop. The data should be pre-sorted for the search to work.
Library: stdlib.h Prototype: Syntax: