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