注意:此页面搜索的是所有试题
题目内容
(川北医学院口腔医学院)
有以下程序:#include <stdio.h>int fun(){static int x = 1;x *= 2; return(x);}main(){int i, s = 1;for ( i = 1; i <= 2; i++ )s = fun();printf( "%d\n", s );}程序运行后的输出结果是( )。
·0
·l
·4
·8
·0
·l
·4
·8
参考答案

