int foo(int x) { int q; int context[128]; printf("q is 0x%x\n", &q); printf("Context is at 0x%x\n", &context[0]); if (x == 0) { int j; for (j = 0; j < sizeof(context) / sizeof(context[0]); j++) { printf("Context[%d]==0x%x\n", j, context[j]); context[j] = SENTINEL; } } else { int j; printf("***\n"); for (j = 0; j < sizeof(context) / sizeof(context[0]); j++) { printf("Context[%d]==0x%x\n", j, context[j]); if (context[j] != SENTINEL) { printf("%d 0x%x\n", j, context[j]); } } } }