Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  test
Language: C/C++
Code:
#include <stdio.h>
int main(void) {
int a = 0xE44C;
int b = 0x8F9B;
printf("%x\n", a | b);
printf("%x\n", a & b);
printf("%x\n", a ^ b);
printf("%x\n", ~a);
printf("%d\n", 6977 | 4510);
printf("%x\n", a << 2);
printf("%x\n", a >> 3);
printf("%d\n", 6977 << 2);
printf("%d\n", 6977 >> 3);
return 0;
}
Comments: