How can i use a variable(that I would get from user input) to call a function ?
char user_function[10];
scanf("%s", user_function);
user_function(); //Calls the function named user_function that the user typed
(without having something like this)
char user_function[10];
scanf("%s", user_function);
if( strcmp(user_function, 'printf()'))
printf();