下列程序的输出结果是( )。 int f1(int x,int y){return x>y?x:y;} int f2(int x,int y){return x>y?y:x;} main() {int a=4,b=3,e=5,d=2,e,f,g; e=f2(f1(a,b),f1(e,d)); f=f1(f2(a,b),f2(e,d)); g=a+b+c+d-e-f; printf('%d,%d,%d/n',e,f,g); }
A.
4,3,7
B.
3,4,7
C.
5,2,7
D.
2,5,7
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】The baby monkey is much more developed at birth than the human baby. Almost from the moment it is born, the baby monkey can move around and hold tightly to its mother. During the first few days of its...
【单选题】以下VBA程序运行的结果是( ) Public Sub Form_Click() Dim s As Integer s = 0 For i = 1 To 2 s = 1 For j = i To 3 s = s + i * j Next j Next i MsgBox "s=" & s End Sub