题目内容
写出下列程序的执行结果是:__________________。#includeusing namespace std;void func( int, int, int * ) ;void main(){ int x, y, z; func( 5, 6, &x ); func( 7, x, &y ); func( x, y, &z ); cout << x << "," << y << ","<< z << endl;}void func( int a , int b , int *c ){ b += a ; *c = b - a ; }
查看答案
搜索结果不匹配?点我反馈
更多问题