题目内容
【填空题】写出下面程序执行后的运行结果____。#include int f(){ int x = 1; return(x++);} int g(){ static int x = 1; return(x++);} int main(){ int i, a = 0, b = 0; for ( i = 0; i < 5; i++ ) { a += f(); b += g(); } printf( "a=%d b=%d", a, b ); return(0);}
查看答案
搜索结果不匹配?点我反馈
更多问题