Theocacao
Leopard
Design Element
Comment on "Intro to C Pointers and Dynamic Memory"
by Herb Payerl — Jan 22
This is a great tutorial.

I think one thing that might deserve further explanation is that the function asprintf actually allocates memory for the strings it creates. The calloc function just reserves space for an array of pointers.

Thanks
Back to "Intro to C Pointers and Dynamic Memory"
Design Element

Copyright © Scott Stevenson 2004-2015