[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"q-380029":3},{"question":4,"library":26},{"id":5,"libraryId":6,"type":7,"typeLabel":8,"stem":9,"options":10,"answer":16,"analysis":25},380029,160,1,"单选题","下面的程序使用了函数指针，其运行结果是______。 #include＜stdio.h＞#include＜math.h＞int f1（int a）{return a*a;}int f2（int a）{return a*a*a;}void main（ ）{int x=3,y1,y2,y3,y4;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）;}",[11,15,19,22],{"key":12,"text":13,"correct":14},"A","y1=27,y2=9,y3=9,y4=27",false,{"key":16,"text":17,"correct":18},"B","y1=9,y2=9,y3=27,y4=27",true,{"key":20,"text":21,"correct":14},"C","y1=9,y2=27,y3=9,y4=27",{"key":23,"text":24,"correct":14},"D","y1=27,y2=27,y3=9,y4=9","本题考查C语言函数指针的基础知识。仔细阅读程序，正确理解函数指针并将参数正确代入函数，可得到y1=9，y2=9，y3=27，y4=27的结果。",{"id":6,"name":27,"category":28,"favorite":29},"(中级) 嵌入式系统设计师","职业资格",0]