Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - I don't understand the examples in the book. Is the third line a function call? I didn't get the value and length of the array temp[0], ... temperature [5].
I don't understand the examples in the book. Is the third line a function call? I didn't get the value and length of the array temp[0], ... temperature [5].
int? temp[]? =? fun(); This sentence is a function call: call fun, return an integer array {1, 3, 5, 7, 9}, and then let temp refer to this array. After calling fun (), int temp[] = {1, 3,5,7,9}, the length of the temp array is 5, and the value of each element is temp [0] = 1, and temp [4] = 9.

Print (temporary); Then call print, and pass the array temp just obtained as a parameter into print. Output array elements one by one in the print function.