1 2 3 4 5 6 7 8 9 10
#include <stdlib.h> #include <math.h> double e(void (*f)(char *)){ char tmp[10]; double x; f(tmp); x = atof(tmp); return exp(x); }