左右结合 和优先级

来源:互联网 发布:卸载kingroot的软件 编辑:程序博客网 时间:2024/05/24 03:23

&&的优先级高于||,且都是左结合(从左到右)

a||c>d&&!p
解释后为
(a||(c>d))&&(!p)

0 0
原创粉丝点击