Time:10-07
CodePudding user response:
calls the function, and then according to the return value judgment,
p a pointer to the array is to use binary search, an array of a total of n elements * p is a pointer to the value of the corresponding element, p is address, * p is the content of the inside address
int * p; Don't be taken out of context, Here is the type definition of p, p is type int * First to go and read a book, see a pointer and algorithm, Look at the array, there will always be part of the array and pointer inside Foundation has not understood, the algorithm also white see
Page link:https//www.codepudding.com/Backend/54930.html