An array of pointers is an ordinary array variable whose elements happen to be all pointers.
This creates an array of 4 pointers to char. The array p itself is like any other array. The elements of p, such as p, are pointers to char.
Initializing an element of an array of pointers is just like initializing ordinary pointers, but we must include the array index. This example assigns the address of x to the pointer in element of the array.
This next example assigns the address of the first character in the string to the pointer in element 0 of the array.
This example shows how you would populate the array of pointers in the picture above. More explicitly:
p = "On";
p = "Off";
p = "Main";
p = "Aux";
This would create the strings in memory and initialize each of the pointers in the array to point to a particular string.
To use the value pointed to by a pointer array element, just dereference it like you would an ordinary variable:
Using *p is the same as using the object it points to, such as x or the string literal "My String" from before.