#include void look (int a, int b, char c, char d, double f, double g) { printf ("The address of argument a is %x\n", (int) &a); printf ("The address of argument b is %x\n", (int) &b); printf ("The address of argument c is %x\n", (int) &c); printf ("The address of argument d is %x\n", (int) &d); printf ("The address of argument f is %x\n", (int) &f); printf ("The address of argument g is %x\n", (int) &g); } int main (void) { static int a = 1; /* 4 bytes of space */ static int b = 2; static char c = '3'; /* 1 byte of space */ static char d = '4'; static double f = 5.0; /* 8 bytes of space */ static double g = 6.0; printf ("The address of a is %x\n", (int) &a); printf ("The address of b is %x\n", (int) &b); printf ("The address of c is %x\n", (int) &c); printf ("The address of d is %x\n", (int) &d); printf ("The address of f is %x\n", (int) &f); printf ("The address of g is %x\n", (int) &g); look (a, b, c, d, f, g); return 0; } /* produces output like The address of a is 90fc The address of b is 9100 The address of c is 9104 1 byte The address of d is 9105 1 byte + 6 bytes The address of f is 910c 8 bytes The address of g is 9114 The address of argument a is dfbfdac0 4 bytes The address of argument b is dfbfdac4 4 bytes + 14 bytes The address of argument c is dfbfdab7 1 byte + 24 bytes The address of argument d is dfbfdab6 1 byte The address of argument f is dfbfdad0 8 bytes The address of argument g is dfbfdad8 */