O'Reilly logo
  • Ankur Sood thinks this is interesting:

When we pass a string, we can do so either as a pointer to a char or a pointer to a constant char. The latter approach protects the string from modification within the function


Cover of Understanding and Using C Pointers


Pointer to constant character