main() { int m=12, n=34; printf("%d%d",m++,++n) printf("%d%d\n",n++,++m) } 此程序输出结果是多少帮忙分析分析,谢谢了
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/17 11:22:22
![main() { int m=12, n=34; printf(](/uploads/image/z/1243951-7-1.jpg?t=main%28%29+%7B+int+m%3D12%2C+n%3D34%3B+printf%28%22%25d%25d%22%2Cm%2B%2B%2C%2B%2Bn%29+printf%28%22%25d%25d%5Cn%22%2Cn%2B%2B%2C%2B%2Bm%29+%7D+%E6%AD%A4%E7%A8%8B%E5%BA%8F%E8%BE%93%E5%87%BA%E7%BB%93%E6%9E%9C%E6%98%AF%E5%A4%9A%E5%B0%91%E5%B8%AE%E5%BF%99%E5%88%86%E6%9E%90%E5%88%86%E6%9E%90%2C%E8%B0%A2%E8%B0%A2%E4%BA%86)
x)MTV+Qȵ54Qȳ56V((i((jkhki)%r5j]|E]/M~ھy6c%ntǺg>h{6oya=fTO?m#;A>PZr6yN-۞N˵6=c1P0|w<4MAH 1 l0B
main() { int m=12, n=34; printf("%d%d",m++,++n) printf("%d%d\n",n++,++m) } 此程序输出结果是多少帮忙分析分析,谢谢了
main() { int m=12, n=34; printf("%d%d",m++,++n) printf("%d%d\n",n++,++m) } 此程序输出结果是多少
帮忙分析分析,谢谢了
main() { int m=12, n=34; printf("%d%d",m++,++n) printf("%d%d\n",n++,++m) } 此程序输出结果是多少帮忙分析分析,谢谢了
m++输出的是m值(12),然后m=m+1(变成13)
++n是输出n+1的值(35),n=35
---------------------------------------------------------
n++是输出n的值35
++m输出m+1的值14
所以最终结果是12 35 35 14