Function signature is (double , double *, double *).
double s,c; double theta =…; sincos(theta,&s,&c);