Hello,
i want to find some information about how the compiler allocates memory to char[] and char*at run time.
obviously dynamic memory allocation occurs during malloc and free, but what about char[]s.
is memory allocated at startup or during the call of a function (if its a function member)? similarly, is it freed at the end of the program or upon leaving a function.
particularly, are char[]s more efficient than char*s? I know malloc and free take thier time.
does anyone know the answer to these questions or know of a good resource? hammer, i know you have a good link somewhere!
TIA, rotis23