2020-10-09 把引用作为函数的返回值

2020-10-21  本文已影响0人  yuerxiaoshui
int& func(int i)
{
  int temp;
  temp = i * i;
  return temp;
}
上一篇 下一篇

猜你喜欢

热点阅读