Skip to content

Instantly share code, notes, and snippets.

@mbrubeck
Created April 21, 2017 15:38
Show Gist options
  • Save mbrubeck/642acbfa1f1090beced6663c40fbc32d to your computer and use it in GitHub Desktop.
Save mbrubeck/642acbfa1f1090beced6663c40fbc32d to your computer and use it in GitHub Desktop.
#include <stdio.h>
void main() {
int x = 5;
int *p = &x;
int *q = &*p;
*q = 6;
printf("%d\n", x);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment