问答题

请写出下面C语言程序输出结果。 #include<stdio.h> int x=3; void main( ) {int i; for(i=1;i<x;i++)incre( );) void incre( ) { static int x=1; x=x+1; printf("%d",x); }

【参考答案】

2 6