Created
June 18, 2014 10:12
-
-
Save LambdaP/26aaebfdad4bb72f771e to your computer and use it in GitHub Desktop.
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> | |
int main (void) | |
{ | |
const int c = 0; // NO MAGIC NUMMER GOOD PHRAKTICE | |
int *p = (int *) &c; // WAIT WAHT U DOIN | |
(*p)++; // NO STAHP | |
printf("%d\n", c); // 1 FFFFFFFFUUUUUUUUUUUUUUUUUUUUU | |
return 0; // FKUC DIS IM GOIN HOME | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment