fork(2) download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a = 2000000000;
  5. int b = 2000000000;
  6. long long c = a + b;
  7. printf("%d + %d = %lld", a, b, c);
  8. }
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
2000000000 + 2000000000 = -294967296