3. Give two techniques discussed in class, other than using high level code that counts the number of characters read into a buffer, that can be done to help prevent/detect buffer overflows. (5 points each item, 10 points) 4. Give a small portion of C code (less than 10 lines of code) that illustrates spatial and temporal locality. 5 points if code exhibits spatial locality, 5 points if code exhibits temporal locality 10 points total
OR
OR