Skip to content

Instantly share code, notes, and snippets.

@xk
Created February 9, 2014 17:47
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 xk/8902910 to your computer and use it in GitHub Desktop.
Save xk/8902910 to your computer and use it in GitHub Desktop.
stack frame garbage
//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