阅读背景:

c++关于参考算子返回类型的基本概念

来源:互联网 

I need to clear a basic concept. This code works fine. Can somebody explain me that if the function calDouble already returning the address (reference) of int why I need to use & operator further in main int *j = &calDouble(i); to get the address (reference) of int? Thanks.I need to clear a basic concept. This code work




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

分享到: