本帖最后由 yangxin540 于 2013-8-14 00:35 编辑
- int a = 2;
- int b = a + 3 * a++;//b = 8
- int c = a + 3 * ++a;//c = 15
- int d = (a++) + 3 * a;//d = 19
- int e = ++a + 3 * a;//e = 24
-
- int f = ++a - 3*a;//f = -14
-
- int g = a-- + 3*a;//g = 25
- int h = a-- + 3*a--;//h = 21
- int i = a-- + 3*--a;//i = 10
复制代码 这些输出的结果让我很是费解呀,求解释! |