B
bob
Okay. So, I have some code like so:
void clear_directory(void)
{
char folder[100];
To me it feels a little awkward choosing a semi-arbitrary size like 100.
Also, I was thinking about the performance of it… Is it true that the performance would be the same if I made the size 1000 like so:
char folder[1000];
I think so, since it is using stack space which is already allocated, right?
void clear_directory(void)
{
char folder[100];
To me it feels a little awkward choosing a semi-arbitrary size like 100.
Also, I was thinking about the performance of it… Is it true that the performance would be the same if I made the size 1000 like so:
char folder[1000];
I think so, since it is using stack space which is already allocated, right?