有符号无符号bit转换
int main()
{
unsigned short i = 65434;
short p = i;
printf("%d", p);
int sp;
scanf_s("%d", &sp);
return 0;
}
知识就是希望
int main()
{
unsigned short i = 65434;
short p = i;
printf("%d", p);
int sp;
scanf_s("%d", &sp);
return 0;
}