int转 unsigned int

Int to unsigned char
Assign the low eight bits of the int type data to the unsigned char object
unsigned char a;
int b;
a = b & 0xff;

Guess you like

Origin blog.csdn.net/wxy_csdn_world/article/details/105068792