仔细阅读下面程序,请给出运行结果()#include#includeintf1(intx){returnx*x;}intf2(intx){returnx*x*x;}main(){intx=3,y1,y2,y3,y4;int(*f)();f=f1;y1=(*f)(x);y2=f1(x);f=f2;y3=f(x);y4=f2(x);printf(“y1=%d,y2=%d,y3=%d,y4=%d\n”,y1,y2,y3,y4);}
A.y1=9,y2=9,y3=27,y4=27 B.y1=3,y2=9,y3=27,y4=9 C.y1=3,y2=3,y3=9,y4=9 D.y1=3,y2=9,y3=9,y4=27正确答案A