Consider this code:
char name[]=\"123\"; char name1[]=\"1234\";
And this result
The size of name (char[]):4 The size of n
Every string is terminated with the char nullbyte '\0' which add 1 to your length.