以传递整型参数为例:在参数配置面板,我们可以选择值传递(Pass Value)或选择指针传递(Pass Pointer to Value)。
基于12个网页-相关网页
pass pointer to value
传递指向值的指针
以上为机器翻译结果,长、整句建议使用 人工翻译 。
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.
而在传递数组时,实参是指向数组第一个元素的指针,形参复制的是这个指针的值,而不是数组元素本身。
youdao
应用推荐
模块上移
模块下移
不移动