MCQOPTIONS
Saved Bookmarks
| 1. |
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» B. strtod(const char *str, char **endptr) | |