Advertisement
math230

Stop at largest integer

Feb 3rd, 2016
1,096
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. //http://pastebin.com/4JRuBf0c
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. int main()
  5. {
  6.     printf("Counting\n");
  7.     int x=0;
  8.     int a;
  9.     while(1){
  10.         a = x;
  11.         x++;
  12.         if(x < 0){
  13.           printf("hey %d %d \n", a, x);
  14.           system("pause"); //break;
  15.         }
  16.     }
  17.  
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement