河南成教 / 计算机基础与程序设计
30[分析题]
30[分析题]
下列程序段的输出结果是( )
void main(void)
{
int y=1,x=5;
if(x<0) y=-1;
if(x>=0) y=0;
printf("%d
", y);
}
参考答案:
佳题速递: