if(a>=6)
{cout<<"out of range"; return 0;}
Run Code Online (Sandbox Code Playgroud)
如果这个程序没有支撑,该程序会发生什么?
只会返回a >= 6:
if(a>=6)
{
cout<<"out of range";
return 0;
}
Run Code Online (Sandbox Code Playgroud)
无论价值如何都会返回a:
if(a>=6)
cout<<"out of range";
return 0;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
145 次 |
| 最近记录: |