What is the difference between char * val and char *** val?

advertisements

This question already has an answer here:

  • Uses for multiple levels of pointer dereferences? 17 answers

What is the difference between char *val and char ***val. I know what pointers are but can not find anywhere what this triple star notation means.


Each star you add is another pointer, which means that char *** val is a pointer to another pointer that points to a char pointer