Remember, if you want to use malloc to obtain memory for
a string, you must leave space for the '\0' |
||||||||||||
free(p); |
||||||||||||
To obtain space for N integers write |
||||||||||||
free (q); |
||||||||||||
gives the space back to the system. |
||||||||||||
4 February, 1998 |
2 |
Copyright University of Alberta |