69,371
社区成员
发帖
与我相关
我的任务
分享
#include <iostream.h>
int main()
{
int x=1,y;
y= ++x*++x;
cout << x << endl;
cout << y <<endl;
return 0;
}
#include <iostream.h>
pushl %ebp
movl %esp, %ebp
subl $16, %esp
movl $1, -4(%ebp) !X赋值为1
addl $1, -4(%ebp) !X第一次++,X=2
addl $1, -4(%ebp) !X第二次++, X=3
movl -4(%ebp), %eax
imull -4(%ebp), %eax !相乘,3×3
movl %eax, -8(%ebp)
movl $0, %eax
leave
ret