Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I saw this answer in the Low Quality posts queue. It's an incorrect guess at the answer.
Should I nominate it for deletion? Is it okay to judge answers in the review queue based on technical correctness?
Incorrect answers should be downvoted, not removed.
That said, the answer you link to is probably more suitable as a comment. It's a one-liner than doesn't explain anything; not really an answer.
you have to free() a string literal