fork(1) download
  1. /* 例題2 */
  2. #include <stdio.h>
  3.  
  4. int main(void) {
  5. char a;
  6. a='G';
  7. printf("a+b=%c\n",a);
  8. printf("a-b=%x\n",a);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
a+b=G
a-b=47