请输入您要查询的字词:

 

单词 dangling else
释义
dangling else

Computer
  • The ambiguity that arises if a language allows constructs of the form

    ifb1thenifb2thenS1elseS2
    in which it is not clear which if is associated with the else. Algol 60 resolved the ambiguity by forbidding the use of if immediately after then; Pascal, C, C++, and Java associate the else with the innermost if. Ada avoids the problem by pairing each if with an explicit end if.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/6/28 19:13:31