Which is more effective while calling the functions?

Ẽm Thư

New member
Which is more effective while calling the functions?
A. call by value
B. call by reference
C. call by pointer
D. call by object
 
Answer: b
Explanation: In the call by reference, it will just passes the reference of the memory addresses of passed values rather than copying the value to new memories which reduces the overall time and memory use.
 

Tìm kiếm

Back
Top