C语言 请帮忙详细解释下x++和++x#include int x = 1;int f(int x){ return (x++);}main(){ int y; y = f(2); x = f(x); printf("y=%d x=%d\n",y,x);}运行结果是2,1有点搞不懂return(x++)到底是要返回什么值啊?
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 16:01:35
xRJQ!1{7zq1&VR ]Dɤ%2OB{αɨ 豗^k_k&
S㉶tDWy&+j4#zߘdV"9+Q7w[(Ƒ$8"0Mv<S @z7Q`j20 U
hIJ[HzpC)MGeZ/vj_oWL.αp'6U6ԬnusD7Ic_ʺsم3"gf1m
AҜWwӂh(yMs>-y:>i%Cc۸ ͌,$"d=XV
fl/)p =:Ҽ(ʮ꼔5U/J_
˱cե!La}74