运行下列程序时的输出结果是( )。
#include<iostream>
using namespace std;
class A{
public:
A(int t){cout<<t<<endl;}
};
class B{
int a,b;
A c;
const int d;
int e;
int &f;
public:
B(int t):d(t++),f(a),b(t++),c(t++)
{
e=t++;
a=t++;
}
void print()
{
cout<<a<<b<<d<<e<<f<<endl;
}
};
int main()
{
B test(1);
test.print();
system(pause);
return 0;
}