Created
February 9, 2014 17:47
-
-
Save xk/8902910 to your computer and use it in GitHub Desktop.
stack frame garbage
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
//2014-02-09 jorge@jorgechamorro.com | |
//stack frame garbage | |
#include <stdio.h> | |
void uno () { | |
char a[18]= "GeorgeOfTheJungle"; | |
} | |
void dos () { | |
char b[18]; | |
printf("%s\n", b); | |
} | |
int main () { | |
uno(); | |
dos(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment