/* CSE 303, Spring 2009, Marty Stepp This program prints the memory addresses of several local variables. Output: x is at address 0x0022ff8c y is at address 0x0022ff88 a[0] is at address 0x0022ff80 a[1] is at address 0x0022ff84 */ #include int main(void) { int x, y; int a[2]; printf("x is at address 0x%08x\n", &x); printf("y is at address 0x%08x\n", &y); printf("a[0] is at address 0x%08x\n", &a[0]); printf("a[1] is at address 0x%08x\n", &a[1]); return 0; }