阅读下面程序:#include <iostream.h>fun (int a, int b){int c;c=a+b;return c;}void main(){int x=6, y=7, z=8, r;r=fun( (x--, y++, x+y), z-

admin2009-01-15  22

问题 阅读下面程序:#include <iostream.h>fun (int a, int b){int c;c=a+b;return c;}void main(){int x=6, y=7, z=8, r;r=fun( (x--, y++, x+y), z--);cout<<r<<end1;}则该程序的输出结果是(    )。

选项 A、11
B、20
C、21
D、31

答案4

解析
转载请注明原文地址:https://kaotiyun.com/show/4Nkp777K
0

最新回复(0)