Skip to content

Instantly share code, notes, and snippets.

@openedev
Created January 9, 2019 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save openedev/6532a5845fd731fb5b798183b8226626 to your computer and use it in GitHub Desktop.
Save openedev/6532a5845fd731fb5b798183b8226626 to your computer and use it in GitHub Desktop.
unsigned int *p = 0x1c20000;
unsigned int *q;
unsigned char ch = 0x60;
q = p + ch;
// q = (void *)p + ch;
printf("%p\n", q);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment