Say for instance I declare a char array with all values set to zero in the following fashion:
char array[4] = {0};
If I assign it values, for instance:
array[0] = 'A';
array[1] = 'B';
array[2] = 'C';
Do I need to null terminate the array like so?:
array[3] = '\0';
or does the operation char array[4] = {0} null terminate previous to any assignment?