When an array is passed in a method, what does that method receives? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

When an array is passed in a method, what does that method receives?

i) a copy of tha array. ii) address of the array.

16th Jan 2018, 8:34 AM
Aftãb
Aftãb - avatar
2 Answers
+ 2
address of the array
16th Jan 2018, 9:21 AM
Al Toe
+ 5
thank you
16th Jan 2018, 10:35 AM
Aftãb
Aftãb - avatar