- #if 0
- a= 2147483647, b= -2147483648
- 請按任意鍵繼續 . . .
- #endif
- // ----------------------------------------------
- #include <stdio.h>
- #include <stdlib.h>
- int main(int argc, char *argv[])
- {
- // int 的最大值等於 多少?
- int a, b, c;
- a= 10;
- b= a + 1;
- // b > a
-
- while (b > a) {
- a++;
- b= a + 1;
- }
-
- printf("a= %d, b= %d \n", a, b);
- system("PAUSE");
- return 0;
- }
複製代碼 |