孙灬大伯
2016-01-13 20:42
#include
int main() { int a=100; printf("%d\n",a++); //100 101 printf("%d\n",++a); //102 printf("%d\n",--a); //101 printf("%d\n",a--); //101 printf("%d\n",a--); //101 printf("%d\n",a+1); printf("%d\n",a); return 0 ; } 哪错了?#include<stdio.h>
int main()
{
int a=100; printf("%d\n",a++); //100 printf("%d\n",++a); //102 printf("%d\n",--a); //101
printf("%d\n",a--); //101
printf("%d\n",a--); //100
printf("%d\n",a+1); //100
printf("%d\n",a);//99
return 0;
}
C语言入门
926027 学习 · 20793 问题
相似问题