Vidyalelo
C Programming · Q64

Standard Library Functions

Programming · C Programming · question 64

Q64

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
Answer
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

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board