In what cases char casting of unsigned long integer can throw exceptions

后端 未结 0 1547
误落风尘
误落风尘 2020-12-16 23:16

I am checking some C code for bugs and in some places I saw a casting of integer to char.
Assuming I have such code:

unsigned long c;
..
char b = (char)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题