fork(2) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a;
  5. a=10;
  6. int *p;
  7. p=&a;
  8. *p=100;
  9. printf("変数aの値=%d\n",a);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
変数aの値=100