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?
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
and somebody does it, it will crash, right?)