C
coder
Hi experts,
Is the following usage of strtod okay (p is a char pointer):
value = strtod(p, &p);
Is it possible that this would evoke undefined behaviour?
Or should I use a temporary pointer and then assign its value to p?
Thanks
Is the following usage of strtod okay (p is a char pointer):
value = strtod(p, &p);
Is it possible that this would evoke undefined behaviour?
Or should I use a temporary pointer and then assign its value to p?
Thanks