Reveal my Identity?
2009-03-23 11:32:37 UTC
char myString[13];
instead of
char *myString;
I know none of my strings are longer then 13 characters (including the null terminator)
Will memory allocation and de-allocation be handled for me?
I want to avoid pointers where not absolutely necessary.
I don't want any memory issues, due to either a failure to allocate memory, or a failure to release memory I am finished with.
I would rather just have extra space automatically allocated, then have to deal with this myself.
If I do use
char *myString;
Do I have to allocate my own memory, and then release it?