If I have for example the following array declaration: int a[5];, this means that I have an array "a" that holds 5 integer variables.
Wouldn't it be in memory something like this (See the \0)?
|0|1|2|3|4|\0|
So, in this case, do I still say that a[] is of size 5 or should I say it is of size 6?
And, if I copy it to the array: int b[4] what will happen in this case? What will happen to the integer variable in location 4 of a[], will it overwrite \0?
Thanks.