Home > Back-end >  dichotomy
dichotomy

Time:10-07

CodePudding user response:

Call a function, and then according to the return value judgment,

CodePudding user response:

reference 1st floor lirg8405 response:
calls the function, and then according to the return value judgment,

What role does the pointer * p

CodePudding user response:

P a pointer to the array is to use binary search, an array of n elements in total
* p is a pointer to the value of the corresponding element, p is address, * p is the content of the inside address

CodePudding user response:

* p=a []?

CodePudding user response:

Fun
reference 5 floor response:
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

* p=a []?

CodePudding user response:

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, algorithm and white look

CodePudding user response:

references to make fun of the eighth floor response:
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


Agree, the new learning many don't understand, but to learn the basics first, textbook content,