Time:09-30
CodePudding user response:
this can be as simple as passing a LinkQueue type variable address
LinkQueue & amp; Q You changed the Q value in the function, function return after the end of the argument Q was altered LinkQueue * Q If you change in the function pointer Q point, it's just change the parameter, function return after the end of the argument a pointer Q points to no change, no change in the function pointer Q point, just for example) Outside the Q, is your incoming variable I don't know so I can understand, you can have a look at the c language reference, the arguments parameter I felt that for this function, as if to add & amp; Use If it is Q=malloc (), when the incoming will have to add & amp; Because it want to change the value of Q
Page link:https//www.codepudding.com/Backend/42544.html