Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:56 pm
by answerhappygod
a) atof(const char *str)
b) strtod(const char *str, char **endptr)
c) atoi(const char *str)
d) atol(const char *str)