ah I see now, i've always assumed I could accept dynamic input from user using the pointer directly without allocating any space.
BUT...regarding the sizeof(*myArray), it doesn't seem to matter at...
Type: Posts; User: adrive
ah I see now, i've always assumed I could accept dynamic input from user using the pointer directly without allocating any space.
BUT...regarding the sizeof(*myArray), it doesn't seem to matter at...
hi all, i'm extremely new to C so please bare with me.
I'm currently interested in studying strings in C, since there isn't one, and malloc is one of the way, I'm not understanding when to use it....