通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有以下程序:
#include main() { int x=1,y=0; if(!x)y++; else if(x==0) if(x)y+=2; else y+=3; printf("%d\n",y); }
程序运行后的输出结果是( )。