Just as int *p; defines a pointer to an int, int **s; defines a pointer to (a pointer to an int). This comes up usually in two cases:
First, if you want an array that holds pointers to an int, you would do something like: int **arr = malloc(sizeof(int*) * arr_size);
Second, when a function needs to return more than one value, it's common to have the extra values returned by reference. I.e.:
/* Return x, y and error code. */
int getVals(int *px, int *py) {
*px = x;
*py = y;
return 0;
}
/* Return new object and error code. */
int newFoo(struct Foo **out_foo) {
struct Foo *f = malloc(sizeof(struct Foo));
f->value = 0;
*out_foo = f;
return 0;
}