Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged 字符型数据0x80强转成unsigned

0 votes
3.6k views
1 answer
    #include <stdio.h> int main(int argc, char *argv[]) { printf("%x ", (unsigned int)(unsigned char)0x80); printf("%x ", (unsigned int)(signed ... 型,为什么符号位也跟着扩展了? P.S. C/C++中输出结果一致...
asked Jan 25, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...