题目内容
写出下列程序的执行结果是:__________________。#includeusing namespace std;#includeint f( int ) ;void main(){ int i; for( i = 0; i < 3; i ++ ) { cout << f( i ) ; if(i!=2) cout<<","; }}int f( int a ){ int b = 0 , c = 1; b ++; c++; return int( a + pow( double(b), 2 ) + c );}
查看答案
搜索结果不匹配?点我反馈
更多问题