#include<stdio.h>
void main()
{
int a=1;
printf("a's address ia %d\n",++a);
}
执行结果为2;
#include<stdio.h>
void main()
{
int a=1;
printf("a's address ia %d\n",a++);
}
执行结果为1:
#include<stdio.h>
void main()
{
int a=1;
printf("a's address ia %d\n",++a);
}
执行结果为2;
#include<stdio.h>
void main()
{
int a=1;
printf("a's address ia %d\n",a++);
}
执行结果为1: