Skip to content

Instantly share code, notes, and snippets.

@kepstin
Last active August 29, 2015 14:07
Show Gist options
  • Save kepstin/f7b9cb435de1eefdf565 to your computer and use it in GitHub Desktop.
Save kepstin/f7b9cb435de1eefdf565 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(void) {
char pointer[] = "asdf";
1[pointer] = 'c';
printf("%s\n", pointer);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment