There's no semantic difference, but it's a matter of coding style and readability. For complex expressions, reading from right to left works fine:
char const ** const
is a const pointer to a pointer to a constant char
.
So char const *
is more consistent in this regard. Many people, however, prefer const char*
for its readibility - it is immediately clear what it means.