单项选择题

若a的值为3时,下列程序段被执行后,c的值是() int c = 1; if (a>0) if (a>3) c = 2; else c = 3; else c = 4;
A)1
B)2
C)3
D)4

A.1
B.2
C.3
D.4