The C function performs binary search. Write code in the main function. The program should first take an integer input n. After that it takes n integers as input, performs binary search on them, and prints out the output.