单选题 下面的程序输出的结果是( )。
#include <iostream>
using namespace std;
void main()
int a=2;
int &c=a;
a++;
cout<<c;


【正确答案】 B
【答案解析】[解析] c是a的引用,故a++相当于c++。