C: what is the function of an asterisk before a function name? -
C: what is the function of an asterisk before a function name? -
i've been confused see on c programs has unfamiliar function declaration me.
void *func_name(void *param){ ... } what * imply function? understanding (*) in variable type creates pointer variable can able track address @ latter variable stored in memory. in case of function, don't know * asterisk implies.
the asterisk belongs homecoming type, , not function name, i.e.:
void* func_name(void *param) { . . . . . } it means function returns void pointer.
c function pointers
Comments
Post a Comment