Binary Search using recursion not giving correct o/p

In this code of the implementation of Binary Search using recursion, I am not getting the correct output. Need help.

Hello @sanjit_15 i have corrected your code and commented the mistake you cam ask here:


happy Learning!!