Examveda

Which statement is correct work reference to endptr?
double strtod(const char *nptr, char **endptr);

A. A pointer to the starting string is stored in the object pointed to by endptr, provided that endptr is a null pointer

B. A pointer to the ?nal string is stored in the object pointed to by endptr, provided that endptr is not a null pointer

C. A pointer to the final string is stored in the object pointed to by endptr, provided that endptr is a null pointer

D. A pointer to the starting string is stored in the object pointed to by endptr, provided that endptr is not a null pointer

Answer: Option B


This Question Belongs to C Program >> Standard Library Functions

Join The Discussion

Related Questions on Standard Library Functions