Strange behaviour of a char array

sterretje:
How many characters in e.g. the word sondaA? How many bytes do you need to store the word sondaA in a nul-terminated character array?

All the words that I have to store have 6 characters. So I need 6 bytes to store 'sondaA'. Because of this, I SHOULD use a 7 element array because of the NULL terminator (I'm sorry, I didn't remember it).

PaulS:
You are if you think you can store 6 characters plus a NULL in a 6 element array.
You are if you think that you can treat a 6 element char array as a string, without the NULL terminator.

You're right. Sorry :frowning: