Why stores 255 in a char variable give its value -1 in C?

后端 未结 5 1172
夕颜
夕颜 2021-01-03 06:29

I am reading a C book, and there is a text the author mentioned:

\"if ch (a char variable) is a signed type, then storing 255 in the ch variable gives it the

5条回答
提交回复
热议问题