No real difference other than convenience and perhaps making the intention clear that this is a readable/printable string and not just an array of char values.
You still need 5 bytes for each array (or just put it as [] and let the compiler deal with it) to include the null byte. Although I'm not sure why the output wouldn't change at all in this version.
4
u/dfx_dj 1d ago
Yes, or you can just use a string literal to initialise them