return(0)程序中return(1)和return(0)都返回到哪里bit VefPSW(void)//验证设备握手口令,成功返回1 {unsigned char count=0;while (1){if(Command(VPWD,20) && (FifoNumber==11) && (FIFO[9]==0x00)) return(1);count++;if (count>=2)//

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/13 01:42:34
return(0)程序中return(1)和return(0)都返回到哪里bit VefPSW(void)//验证设备握手口令,成功返回1 {unsigned char count=0;while (1){if(Command(VPWD,20) && (FifoNumber==11) && (FIFO[9]==0x00)) return(1);count++;if (count>=2)//

return(0)程序中return(1)和return(0)都返回到哪里bit VefPSW(void)//验证设备握手口令,成功返回1 {unsigned char count=0;while (1){if(Command(VPWD,20) && (FifoNumber==11) && (FIFO[9]==0x00)) return(1);count++;if (count>=2)//
return(0)程序中return(1)和return(0)都返回到哪里
bit VefPSW(void)//验证设备握手口令,成功返回1
{
unsigned char count=0;
while (1)
{
if(Command(VPWD,20) && (FifoNumber==11) && (FIFO[9]==0x00))
return(1);
count++;
if (count>=2)//如果不成功,再验证一次,如果两次不成功,返回失败
{
return(0);
}
}
}

return(0)程序中return(1)和return(0)都返回到哪里bit VefPSW(void)//验证设备握手口令,成功返回1 {unsigned char count=0;while (1){if(Command(VPWD,20) && (FifoNumber==11) && (FIFO[9]==0x00)) return(1);count++;if (count>=2)//
return (x) 结束函数,并返回一个值x
int f()
{
return 0;
}
int y=f();
y 就等于0