fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a;
  6. scanf("%d",&a);
  7. printf("a=%d\n",a);
  8. printf("-a=%d",-a);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
a=32766
-a=-32766