Stack Overflow operator question sample code