You aren't supposed to specify a return value when you make a function call. C finds the correct function to use by name and parameter list.
PHP Code:
printf("Approximate cos(%d) = %lf", xdeg, 1- pow(radians, 2)/2 + pow(radians, 4)/24);
That will run fine.
The exception here is when you want to typecast the return value, where you would have syntax issues:
PHP Code:
printf("Approximate cos(%d) = %lf", xdeg, 1- (double) pow(radians, 2)/2 + (double) pow(radians, 4)/24);
This runs fine too, but you should only do this when the function the compiler will call will not return the necessary return type.