本帖最后由 独孤求傲 于 2015-12-9 18:41 编辑
觉得好玩记得打赏点黑马币啊、、、、、、
#include <stdio.h> int main(int argc, const char * argv[]) { int num1 = 10; int num2 = num1++ + 10; printf("num1=%d num2=%d\n",num1,num2);
int num1 = 10; int num2 = 20; num1 = num1++ + ++num2; printf("%d %d\n",num1,num2);
int num1 = 10; num1 = num1++; printf("num1=%d\n",num1);
int num1 = 10; num1 = num1++ + ++num1 + ++num1 + num1++; printf("num1=%d\n",num1);
int num1 = 10; num1 = num1++ + num1++ + num1*++num1; printf("num1=%d\n",num1); return 0; } 每次的输出是依次变难的,不要用编译器哦。这是我们老师交给我们装13得本事,哈哈
|