1.

Name the function that breaks a floating-point number into a normalized fraction and an integral power of 2.(a) exp()(b) frexp()(c) Idexp()(d) modf()I have been asked this question in a job interview.This is a very interesting question from Mathematical functions in chapter C Library of C

Answer»

Correct ANSWER is (b) frexp()

For EXPLANATION: The frexp() function breaks a floating-point number into a normalized fraction and an INTEGRAL power of 2.



Discussion

No Comment Found

Related InterviewSolutions