47.呼叫(call)函數時,若參數為陣列,則為下列何種呼叫?
(A)傳值呼叫
(B)傳址呼叫
(C)直接呼叫
(D)間接呼叫
答案:登入後查看
統計: A(6), B(21), C(5), D(0), E(0) #2258106
統計: A(6), B(21), C(5), D(0), E(0) #2258106
詳解 (共 2 筆)
#5694138
the array itself is not being copied, only a copy of the pointer to its address is passed to the callee (placed on the stack)
https://stackoverflow.com/questions/4774456/pass-an-array-to-a-function-by-value
https://stackoverflow.com/questions/4774456/pass-an-array-to-a-function-by-value
0
0