I just happened to be recently studying all the operator precedence rules and other subtleties in that code, so I got it all right. (Probably wouldn't do as well today :-)
But mainly it was there as a point of discussion to see how you approached such code.
And like most conference room whiteboards, most of the pens were dried out. I tossed those into the trashcan.
"But mainly it was there as a point of discussion to see how you approached such code."
One would hope that the expected answer was to approach it by way of promptly deleting it, replacing it with something readable, and then finding the person who wrote it and kicking them in the shin at least 8 times.
But mainly it was there as a point of discussion to see how you approached such code.
And like most conference room whiteboards, most of the pens were dried out. I tossed those into the trashcan.