阅读背景:

将数组传递给函数而不改变其值?

来源:互联网 

I want to do something with array A in function B. In function B, some value of A is changed. I know that because A is a pointer so its values will be changed after B is executed. So that I have to use C which is a copy of A to make sure that A aren't changed after B is executed.I want to do something with array A in function




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: