美文网首页
&&优先级高于||

&&优先级高于||

作者: 奥巴荣 | 来源:发表于2019-05-27 14:53 被阅读0次
#include "stdio.h"
int main(void)
{
    printf("1 || 1 && 0 = %d\n", 1 || 1 && 0);
    printf("1 || 0 && 0 = %d\n", 1 || 0 && 0);
    printf("(1 || 0) && 0 = %d\n", (1 || 0) && 0);
    return 0;
}
image.png

&&优先级高于||

相关文章

网友评论

      本文标题:&&优先级高于||

      本文链接:https://www.haomeiwen.com/subject/smdhtctx.html