Binary_search in c++


what is wrong in the code?

hey @Chandra123, u are not calculating the value of m in while loop