Examveda

Which of the given function converts the string pointed to, by the argument str to a floating-point number?

A. atof(const char *str)

B. strtod(const char *str, char **endptr)

C. atoi(const char *str)

D. atol(const char *str)

Answer: Option A


This Question Belongs to C Program >> Standard Library Functions

Join The Discussion

Related Questions on Standard Library Functions