Given that scanf has (const char *) in the documentation from Microsoft and the answer to this question what the heck is going when I do the same for (char **) promotion to
char** -> const char ** is dangerous, since you might end up accidentally modifying the underlying const object.
char** -> const char **
const
The correct way to write what you want is:
void processargs(const char * const *p) { }