主观

写出程序运行结果

#include ﹤iostream.h﹥

int func(int a)

{

int b=0;

static int c =4;

b++; c--;

return(a+b+c);

 }

void main( )

{

int a =2;

for( int j=0; j ﹤2; j++)

cout ﹤﹤ func(a +j)﹤﹤" ";

}

参考答案
您可能感兴趣的试题
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服