193k views
5 votes
Regardless of the algorithm being used, a search through an array is always performed:

User Kortschot
by
7.7k points

1 Answer

3 votes
The answer to these is none, not when it is from the highest and lowest element, not even from lowest to highest element. And no, you actually can not use a binary element to find the answer. So the ptr is a pointer that points the variables that can address of the integer.
User VInayK
by
7.8k points