Post Go back to editing

unsigned char value more than 255?

Category: Software

Hi 

I am using 21489 and find an interesting thing as follows:

I defined "unsigned char abc = 456;" and used CCES to debug. I checked abc value in the window and i can find it is 456.

I can not understand why abc can be more than 255? I thought i defined a unsigned char type value and it should be 0-255.

Thanks.