题目内容
下面程序执行后的输出结果是()。#include int a = 2;int f( int n ){static int a = 3;int t = 0;if ( n % 2 ){static int a = 4; t += a++;}else{ static int a = 5; t += a++; }return(t + a++);}int main(){int s = a, i;for ( i = 0; i < 3; i++ )s += f( i );printf( "%d", s );return(0);}
查看答案
搜索结果不匹配?点我反馈