假设有如下语句,则叙述错误的是?structabc{intm;floatn;}mytype;
假设有如下语句,则叙述错误的是?structabc{intm;floatn;}mytype;
以下程序的运行结果是floatf1(floatn){returnn*n;}floatf2(floatn){return2*n;}main(){float(*p1)(float),(*p2)(float),(*t)(float),y1,y2;p1=f1;p2=f2;y1=p2(p1(2.0));t=p1;p1=p2;p2=t;y2=p2(p1(2.0));printf("%.0f,%.0f\n",y1,y2);}
以下程序的运行结果是floatf1(floatn){returnn*n;}floatf2(floatn){return2*n;}main(){float(*p1)(float),(*p2)(float),(*t)(float),y1,y2;p1=f1;p2=f2;y1=p2(p1(2.0));t=p1;p1=p2;p2=t;y2=p2(p1(2.0));printf("%.0f,%.0f\n",y1,y2);}
1