Skip to content

Instantly share code, notes, and snippets.

@bradmontgomery
Last active October 25, 2018 23:45
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 bradmontgomery/b8dd8b5990fc555f19ace45938edbd0d to your computer and use it in GitHub Desktop.
Save bradmontgomery/b8dd8b5990fc555f19ace45938edbd0d to your computer and use it in GitHub Desktop.
Pointers are powerful! But don't forget... with great power comes great responsibility!
#include <stdio.h>
#include <stdlib.h>
int main()
{
int i;
for(i=0; i < 10000000; i++) {
*&i = 10;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment