已知“int a=10, b=8; int &r=a; r=b; b=15; cout<<a<<","<<b<<","<<r;”,则输出为()。

A.10,15,10 B.10,8,15 C.8,15,8 D.15,15,15

时间:2024-06-17 10:48:06

相似题目