i keep getting the error " expression must be a complete object type" at the line where it says "out[i] = algo[a][in[i]];" i do not know why do to not working with pointers much
typedef int(*algorithms) (int a);
//start algorithms (put algorithms here)
int algo1(int a) {
out[i] = algo[a][in[i]];
// error: invalid conversion from 'algorithms {aka int (*)(int)}' to 'int'
out[i] = algo[a];
// error: invalid conversion from 'algorithms {aka int (*)(int)}' to 'int'
out[i] = algo[a]( 42 ); // looks like a valid function call