DEV Community

Dobby33
Dobby33

Posted on

Answer: strtol reusing param

#c

Yes, it is safe. The first argument is passed by value, so strtol has a local copy that isn't affected by changes written to the second parameter.

Top comments (0)