I'm new here and new to programming, doing my first programming course this semester. I have an upcoming test tomorrow and I've been reviewing questions that the lecturer gave us.
This is the question I'm confused about. No matter how I think about it, my answer will always be D, but when I execute the code B prints.
Can anyone explain this to me?