Quote:
Originally Posted by PieterBeyens View Post
Something like this?

Code:
#include <stdio.h>

char *(*(c[10]))(int **p);

char strf0[] = "function0";

char *f0(int **p)
{
    (void) p;
    return strf0;
}

int main(int argc, char** argv){
    c[0] = f0;
    printf("%s\n",f0(0));
    return 0;
}
Pieter Beyens
Bytelead
Yea, nice example.