W in the return statement is what meaning, please answer
CodePudding user response:
The ternary operator feel bad understanding is changed to the if
Don't know the ternary operator is reading a book
CodePudding user response:
Return is to return, return * xp or 0, if xp is not NULL, it returns * xp, otherwise it returns 0.
Because this function is with a long return values, to return to the calling function
CodePudding user response:
Check if xp this pointer is empty, empty 0, is not null output point value
CodePudding user response: