Suppose I declare a variable as:
Does it make any difference which of the following I use for initializing the array?
memset(Str, 0, sizeof(Str));
memset(Str, 0, sizeof(char * 100));
I have been using method number 1 a lot lately and didn't know if there was some down side that I'm just not aware of.