Actually i am new to this pointer to functions and not able to find out what is the wrong in using the pointer to functions. The code i tried was this:
I tried in codeblocks compiler but was not able to correct although in turbo C++ it runs by some changes in the code,but not in codeblocks.Please view into it.
#define PI 3.1415926
void table(double (*f)(),double,double,double);
printf("TABLE OF y(x)= 2*x*x-x+1\n\n");
printf("TABLE OF cos(x)\n\n");
void table(double (*f)(),double min,double max,double step)
double y(double x)