Top

Discussion

Which of the given function differs from the statement’errno is not neccessarily set on conversion error’?

  • A.atof()
  • B.atoi()
  • C.atol()
  • D.strtod()

Answer: D

The function atoi() and atol() are similar to strtol(), atof() is similar to strtod() except that errono is not necessarily set on conversion error.

No comment is present. Be the first to comment.
Loading…

Post your comment