Department of Computer Scien
ce and Information Engineering
National Cheng Kung University, TAIWAN
LOGIC HANEL
OPERATIONSBit-wise Operators in C
(cont’)
...switch (z)
{ case(0):
{ P0=‘0’;break;} case(1):{ P0=‘1’;break;} case(2):{ P0=‘2’;break;} case(3):{ P0=‘3’;break;}
}
}