Binary search technique

sir I understand the logic but the problem how can I determine the start and end points in search space??