Is it possible to create a pointer to a function pointer, i.e.
int32_t (*fp[2])(void) = {test_function1, test_function_2}; // initialize a function pointer
<unknown> = fp;
What needs to be written in place of unknown? With "normal" arrays, I could do this:
int a[2] = {0, 1};
int* p = a;
fpas an array of function pointers, if you only want a single pointer?int32_t (**fpp)(void) = fp;<unknown>as a plain pointer to a function? Remember that arrays decays to pointers to their first element, in your casefpdecays to a pointer totest_function1.