单项选择题

当month等于6时,下面代码的输出结果是()。

A.0
B.28
C.30
D.31