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