BlockLune / blocklune.github.io

My blog powered by Hexo.
https://fishg.top/
4 stars 0 forks source link

值传递、指针传递、引用传递 | Fish Pond #62

Open BlockLune opened 5 months ago

BlockLune commented 5 months ago

https://fishg.top/posts/c8a20144.html

接上文《一个有关指针传参的问题》,打算结合一些简单的例子系统地梳理一下 C/C++ 中的值传递、指针传递和 C++ 中特有的 引用传递。