Is it possible to call a C function, given its name as a string?
- by benjamin button
I saw this question in one of the C puzzles!!
Is this really possible?
How can I call a function, given its name as a string?
is it possible to use string that is read with scanf be used directly to call
a function?
i already have thought of if(strcmp(str,"string"))then call the function.
but is there any other approach?