令初学者头疼的问题,进来瞅瞅
#include <stdio.h>main()
{
int a=5,b,c,i=10;
b=a++;
c=++b;
printf("a = %d, b = %d, c = %d\n",a,b,c);
printf("i,i++,i++ = %d,%d,%d\n",i,i++,i++);/*10,10,为啥不是11却是10?*/
printf("%d\n",++i);/*13*/
printf("%d\n",--i);/*12*/
printf("%d\n",i++);/*12*/
printf("%d\n",i--);/*13*/
printf("%d\n",-i++);/*-12*/
printf("%d\n",-i--);/*-13*/
getchar();
}