写出输出结果

 1 #include<stdio.h>
 2 int a ,b ,c =0;
 3 void Fun_at_Google(void);
 4 int main ( )
 5 {
 6       static int a=1 ;                //   Line1
 7       Fun_at_Google ( );
 8       a+=1; 
 9       Fun_at_Google ( );
10       printf ( "%d  %d  \n " ,a ,b);
11       return 0;
12 }
13 
14 void Fun_at_Google(void)
15 {
16       static int a=2;                //   Line 2
17       int b=1;
18       a+=++b;
19       printf( "%d  %d  \n " ,a ,b);
20 }

来源互联网

posted @ 2017-06-15 09:43  cdsj  阅读(152)  评论(0编辑  收藏  举报