Differences Between “const char * p” and “char const * p” and “char * const p”

In C/C++ programing, const is a keyword refers to a variable that is constant (cannot be changed"). The meaning of the positioning of the “const” keyword is following: 1. const char * p: This means that the pointer “p” is pointing to a constant character. The character is not modifiable, but the pointer can. 2.
Continue reading Differences Between “const char * p” and “char const * p” and “char * const p”