This is indeed a small question, which I for some unkown reason started to think about a few minuts ago.
Why is it that the end of an array should be without anything at all in it? Is it so that when deleting the compiler knows were to delete to or what?
Another thing is the '\0' in the end of an char array, though since it shouldn't be placed in the end, but in the second last, this should be like:
char String[3];
String[0] = 'H';
String[1] = 'H';
String[2] = 'i';
String[3] = '\0';
String[4] = NULL;
I would really like to have this clearified. My gues is that the '\0' is there because those old functions like strcpy and strcmp use it.
:confused: