以下程序的输出结果是( )。 #include int f(int a) { int b=0; static int c=3; a=c++,b++; return a; } void main() { int a,i,t; a=3; for(i=0;i<3;i++) t=f(a++); printf("%d\n",t); }
你要是电脑上没有软件可以运行,给你个网址复制过去运行一下吧:https://c.runoob.com/compile/11
这代码有啥意义吗?参数a毫无意义,a++也没有意义,b++也没有意义,c每调用一次加1,那么就输出5吧