题目内容
(请给出正确答案)
[单选题]
下面程序执行后的输出结果是()。#includestructT{intaintb}voidswap(structTa,structT*b)voidmain(){structTx={10,20},y={30,40}swap(x,&y)printf("%d,%d,%d,%d/n",x.a,x.b,y.a,y.b)}voidswap(structTa,structT*b){structTtt=aA=*b*b=t}
A.20,10,40,30
B.30,40,10,20
C.40,30,20,10
D.10,20,30,40
查看答案
如果结果不匹配,请 联系老师 获取答案