Skip to content

Instantly share code, notes, and snippets.

@housemeow
Last active August 29, 2015 13:57
Show Gist options
  • Save housemeow/9725564 to your computer and use it in GitHub Desktop.
Save housemeow/9725564 to your computer and use it in GitHub Desktop.
void function(){
int a = 1;
int b = 2;
int c = 3;
int* pt = &b;
printf("pt[-1] = %d", pt[-1]);
printf("pt[0] = %d", pt[0]);
printf("pt[1] = %d", pt[1]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment