|||
下午看代码时,为深入理解指针进行地址传递,自己写了一个例子。现在放在这里供需要的人参考。
Note: Element of a struct also owns its location, which can be pass into a function as we dicussed it in the comments.
Source code 下载地址:http://pan.baidu.com/s/1qYclxFI
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-20 19:40
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社