1
0

j.c 242 B

1234567891011121314151617181920
  1. int main() {
  2. // get pointer from address
  3. int a = 3;
  4. int *p;
  5. p = &a;
  6. // set pointer to manual address
  7. p = (int *)99;
  8. // write value at pointer address
  9. *p = 20;
  10. return (int)p;
  11. }
  12. void interrupt()
  13. {
  14. }