String or Char Arrays Length Definition

To prove it, try this

char myChars[] =  "1234567890";

void setup() 
{
  Serial.begin(9600);
  output();

  myChars[7] = '\0';
  output();

  myChars[5] = 0;
  output();
}

void loop() 
{
}

void output()
{
  Serial.println(myChars);
  for (int i = 0;i <= 10;i++)
  {
    Serial.println(myChars[i],HEX); 
  }
  Serial.println(); 
}