Function to swap array elements by reference

后端 未结 0 855

I\'m trying passing an array to change its elements by reference.

Example:

Input element 1 = 4 / element 2 = 5 / element 3 = 6

Output element 1 = 6 / elemen

相关标签:
回答
  • 消灭零回复
提交回复
热议问题