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