I have an array which looks like this:
void* functions[]; // pointer to functions, each function returns an int and has int parameters A and B
I would like to cast this into the following:
int (*F)(int a, int b) = ((CAST HERE) functions)[0];
int result = F(a, b);
I have already tried "(int (*)(int, int))" as the cast but the compiler complained I am trying to use the function pointer as an array.