CS 2213 Advanced Programming, Fall 2000 Lab Assignment 5 Comments
- This assignment was graded on a basis of 20 points.
- Automatic variables are destroyed when you leave a function.
If you have an array that is automatic, you are not allowed to
return a pointer to that array.
- If you return a pointer to an array with static storage class
it will work, but only allow one hash table per program.
- Use malloc to allocate the array.
- Don't make assumptions about the values of constants like
HASH_STATUS_EMPTY