work an example of how the stack works, and what needs to be placed on it automatic vs. static variables, and how they are placed on the stack. - bad to return ptr to object on stack how realloc works malloc library has an allocation table free/malloc don't touch actual memory or variables allocated/freed how does BCC work: - replace mem references with "test functions" (not exactly C functions) - show example of buf overflow Cont.: automatic vs. static variables, and how they are placed on the stack. C functions: call by value see why you need &foo to pass to function that needs to modify it (say, an int) - but what if it's a pointer to something? (say an int* array) rule: for a function to modify "foo" you must pass &foo to fxn. If you declare a[10] what is 'a', &a[0], a+2 (a+2 * sizeof(int))