Binary Search Implementation

what’s wrong in code: https://ide.codingblocks.com/s/285610

@sk1 array should be sorted in order to perform binary search so given input as sorted array it works fine.
dont forget to hit like and mark resolved if cleared :smiley: