有以下类定义 clsaa MyClass { public: MyClass(){ cout<<1;} }执行语句 MyClass a,b[2],*p[2];后,程序的输出结果是____
A. 11
B. 111
C. 1111
D. 11111
下面属于同一函数模板的是____()
A. templatet1 max(t1 &a,t1 &b) {…} templatet2 max(t2 &a,t2 &b) {…}
B. templatet1 max(t1 a,t1 b) {…} templatet2 max(t2 &a,t2 &b) {…}
C. templatet1 max(t1 a,t1 b) {…} templatet2 max(t2 &a,t2 &b) {…}
D. templatet1 max(t1 a,t1 b) {…} templatet2 max(t2 &a,t2 &b,t2 c) {…}