Paul - did you miss the title of this thread or the first sentence of the OPs first post ? He/she wants to access specific characters in an array of chars, hence my example which, by the way does include
I saw it. Your example assumes that someChars IS a string, because it calls strlen(). Your example DOES define a string, because you did not specify a size for the array. The string literal that you provided as the initializer has a terminating NULL, so the array was sized to include the terminating NULL.
If you want to show how to deal with an array of chars that is NOT a string, doing so with a string, and calling string functions, is NOT a good idea.
It is so simple to keep the array of chars NULL terminated that I can not imagine why anyone would NOT do so.