posted 4 years ago
The code below is a question from Dan Chisholm's website of comprehensive tests. The code originally demonstrated a compilation error, but I modified it so it would compile. I wanted to verify that it returned a "A", but it returned a "B" instead. I don't understand why that is -- could someone explain it to me?