C语言 z = x & y 0 :1
问题描述:
C语言 z = x & y 0 :1
答
相当于if(x & y != 0){ z = 0;}else{ z = 1;}即:当xy按位相与,不为0时z赋值为0,否则z赋值为1
C语言 z = x & y 0 :1
相当于if(x & y != 0){ z = 0;}else{ z = 1;}即:当xy按位相与,不为0时z赋值为0,否则z赋值为1