It may be C++ but it never hurts to know about C-Style strings and his question was on C-style strings.
I agree C++ strings are what should be used but that doesnt migate the fact that C-style strings are still good to learn and most books teach them before C++ strings.