#include <stdio.h> char *ret_str(void){ return("Hello World"); } char *(*(func)(void))(void){ char *(*pf)(void); pf = ret_str; return(pf); } int main(){ char *(*pff)(void); pff = func(); printf("%s", pff()); return(0); }
This is the same as this: http://codepad.org/R1gX8QBB
This is the same as this: http://codepad.org/R1gX8QBB
ResponderExcluir