异或然后移位问题,c语言!

来源:百度知道 编辑:UC知道 时间:2024/07/05 00:41:34
#include <stdio.h>
void main()
{
char x=3,y=6,z;
z=x^y<<2;

}

我的结果时00010100,而计算机结果确是00011011

<< 优先级 高于^
先运算y<<2

先<<后^