fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. signed int n = -2147483648;
  5. printf("This is a %d\n", n);
  6. n = -n;
  7. printf("This is b %d\n", n);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
This is a -2147483648
This is b -2147483648