一道关于C++中引用&的题目 今天去大摩的quant finance exam,碰到了如下有关C++的题目:#include void swap(int& a, int b){ int temp; temp = a++; a = b; b = temp;}void main(){ int a = 2, b =3; swap(a, b); cout<<a<<" Other 2023-11-24 52 点赞 0 评论 78 浏览