Home > Back-end > All say array shape of participant degenerate into pointer I how do not degenerate
All say array shape of participant degenerate into pointer I how do not degenerate
Time:09-20
CodePudding user response:
Try the sizeof (array) and sizeof (parameters) In memory is 0 at the end of the string, strlen is to 0, the array name first address (string) as a parameter calculation is the same,
CodePudding user response:
Array is quite possible that an arbitrary element 0, use strlen judgment array length to wrongdoing,