Skip to content

Instantly share code, notes, and snippets.

@supr
Created May 7, 2012 20:58
Show Gist options
  • Save supr/2630370 to your computer and use it in GitHub Desktop.
Save supr/2630370 to your computer and use it in GitHub Desktop.
#include <stdio.h>
void a(){
char x[] = "aabbcc\0";
char y[] = "ccbbaa\0";
}
void b(){
char x[] = "ccbbaa\0";
char y[] = "aabbcc\0";
}
void c(){
char z[8];
printf("z = %s\n", z);
}
int main(void) {
a();
c();
b();
c();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment