fork download
  1. #include <stdio.h>
  2.  
  3. int main () {
  4.  
  5. int a = 2147483647;
  6. int b = 2147483647;
  7.  
  8. int c = a + b;
  9.  
  10. printf("Sum = %d\n", c);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
Sum = -2