Common misconception: that licenses create requirements and reduce rights.
In legal reality if no license is attached to code you have almost zero rights to copy, use, or distribute it.
So if a casual browser of SO doesn’t see any license terms, they should assume that doing almost anything with the code is illegal.