若int a=3,则下列程序代码执行后,c的值为(    )。
int c = 5;
if (a > 0) {
if (a > 4)
c = 6;
else
c = 9;
}
A 4
B 5
C 6
D 9