Help rahul to search challenge

sir, in my code of binary search in rotated and sorted array it is showing run error in one of the test cases. can u plz tell why it is so?
code:https://ide.codingblocks.com/s/91673