Which of the given C function can be used instead of the apparent identity pointed to by y?
int x=1;
double y= 0.5 * (exp (x) + exp (-x));
int x=1;
double y= 0.5 * (exp (x) + exp (-x));A. cos(x)
B. cosh(x)
C. fmod(x)
D. modf(x)
Answer: Option B

Join The Discussion