Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsigned char w = 0x22;
- unsigned char x = 0x99;
- unsigned char y = 0x7C;
- unsigned char z = 0xD2;
- int u = w;
- u = u << 8;
- u = u + x;
- u = u << 8;
- u = u + y;
- u = u << 8;
- u = u + z;
- printf("u: %x \n", u);
- u: 22997cd2
- Program ended with exit code: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement