单项选择题

int m=3,n=3,max=0;
if(m>n){
    max=1;
}else{
    max=-1;
}
程序段执行后,max的值为(   )
A、0
B、1
C、-1
D、3