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