breaking it by not initializing the name

cat-town
Dan Buch 13 years ago
parent 34505c7200
commit 458ed013bc

@ -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],

Loading…
Cancel
Save