1.

Which of the following is the correct code?(a) tanh(double x)(b) tanh double x(c) tanhdouble x(d) tanhdoublexThis question was addressed to me in exam.My question comes from Mathematical functions in portion C Library of C

Answer»

Right choice is (a) tanh(DOUBLE X)

The EXPLANATION: The correct code is tanh(double x). The tanh() function computes the HYPERBOLIC TANGENT of x.



Discussion

No Comment Found

Related InterviewSolutions