#include <stdio.h>
int main(void) {
printf("AND運算:\n");
printf("0x26 AND 0xe2\t\%x\n", 0x26 & 0xe2);
printf("OR運算:\n");
printf("0x26 OR 0xe2\t\%x\n", 0x26 | 0xe2);
printf("XOR運算:\n");
printf("0x26 XOR 0xe2\t\%x\n", 0x26 ^ 0xe2);
printf("NOT運算:\n");
printf("NOT 0x26\t\%x\n", ~0x26);
printf("<<運算:\n");
printf("<< 0x26\t\%x\n", 0x26<<2);
printf(">>運算:\n");
printf(">> 0x26\t\%x\n", 0x26>>1);
return 0;
}