C's standard library routine for storage allocation. It takes the number of bytes required and returns a pointer to a block of that size. Storage is allocated from a heap which lies after the end of the program and data areas. Memory allocated with malloc must be freed explicitly using the "free" routine before it can be re-used.
(02 Feb 2009)
|Bookmark with:||word visualiser||Go and visit our forums|