fork(9) download
  1. #include <stdio.h>
  2. #include <limits.h>
  3.  
  4. int main() {
  5. int a=INT_MAX;
  6. if (a + 1 > 0) printf("Didn't wrap around\n");
  7. else printf("Wrapped around\n");
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
Didn't wrap around