Answer

问题及解答

C++ 传递参数的方式

Posted by haifeng on 2015-06-13 14:16:33 last update 2015-06-13 14:16:33 | Edit | Answers (0)

C++ 传递参数有三种不同的方式

1. 按常量引用调用(call by constant reference)
2. 按值调用(call by value)
3. 引址调用(call by reference)