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