This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6678数据类型强转



您好~我想实现浮点型数据转换为unsigned char的过程 ,但是按图这样子操作时,发现出来的结果C是42 ,但是我想将大于255的值都强转为255,应该怎么写啊???