breaking it by not initializing the name

This commit is contained in:
Dan Buch 2011-09-08 22:42:39 -04:00
parent 34505c7200
commit 458ed013bc

2
ex9.c
View File

@ -3,7 +3,7 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
int numbers[4] = {0}; int numbers[4] = {0};
char name[4] = {'a'}; char name[4];
printf("numbers: %d %d %d %d\n", printf("numbers: %d %d %d %d\n",
numbers[0], numbers[1], numbers[0], numbers[1],