Answer :
Answer:
10.
Explanation:
Binary search divides the array to be search each in half according to the value of the element.
The worst case time complexity of binary search is O(logN).
In this case the time complexity will come out to be log₂(1024)=10.
So the binary search can divide this array in half maximum of 10 times.
Hence the main loop will executes 10 times.