它对存储局部变量的位置进行重新排序,并复制函数参数中的指针,以便它们也在任何数组之前。
It reorders where local variables are stored, and copies Pointers in function arguments, so that they're also before any arrays.
而在传递数组时,实参是指向数组第一个元素的指针,形参复制的是这个指针的值,而不是数组元素本身。
When we pass an array, the argument is a pointer to the first element in the array. That pointer value is copied; the array elements themselves are not copied.
下面的示例使用指针将字节从一个数组复制到另一个。
The following example USES Pointers to copy bytes from one array to another.
数组变量持有一个指针,它指向构成数组元素的数据及秩和长度信息,赋值语句仅复制此指针。
An array variable holds a pointer to the data constituting the array elements and the rank and length information, and an assignment copies only this pointer.
数组变量持有一个指针,它指向构成数组元素的数据及秩和长度信息,赋值语句仅复制此指针。
An array variable holds a pointer to the data constituting the array elements and the rank and length information, and an assignment copies only this pointer.
应用推荐