Last active
October 25, 2018 23:45
-
-
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!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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