Toreador (12/9/2010)
I got it right by immediately eliminating the 1 and 365 options, then I couldn't spot any syntax errors, so went for the one that was left.
I took the same route and then ran the code anyway to be sure.
I can see where this would have made an interesting SCRIPTS submission, but does not seem to be a question that teaches anything.
It did reinforce something I learned in high school.
You HAVE TO RUN CODE to know what it will do, otherwise you are just guessing.
C code
C code run
run code run 😎