通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有以下程序
#include <stdio.h> int f(int x); main() { int a, b=0; for(a=0;a<3;a++) { b=b+f(a); putchar('A'+b); } } int f (int x) { return x*x+1; }
程序运行后的输出结果是