单项选择题

下列程序的运行结果是( )。
#include <stdio.h>
main()
int x=-9, y=5, z=8;
if(x<y)
if(y<0) z=0;
else z+=1;
printf("%d\n", z);

A) 6
B) 7
C) 8
D) 9