求解第二个输出和第三个输出
#include<stdio.h>int g(int x ,int y)
{
return x+y;}
int f (int x,int y)
{
{
static int x=2;
if(y>2)
{x=x*x;y=x;}
else y=x+1;
}
return x+y;
}
main()
{
int a=3;
printf("%d\n",g(a,2));
printf("%d\n",f(a,3));
printf("%d\n",f(a,2));
}