[Courses] [C] Lesson12: Exercise answers
Luis M Ibarra
mibarra at ximian.com
Thu Nov 21 19:27:01 EST 2002
On Thu, 2002-11-21 at 12:20, Eugene Teo wrote:
> > Calloc is faster than malloc, but beware, they work quite different,
> > malloc allocates memory from the heap, calloc allocates from the stack.
> correction: both allocates memory from the heap,
I stand corrected.
Sorry for the misinformation (it's alloca the function which allocs in
Luis M Ibarra <mibarra at ximian.com>
More information about the Courses