1 year ago

#268591

test-img

rickiestRick

How to store unsigned int value to unsigned char variable?

Suppose I have

unsigned int x = 0x12a
unsigned char y = 0x000

How can I make x = y? When I try to assign x to y, i get y = 0x02a

c

unsigned-integer

unsigned-char

0 Answers

Your Answer

Accepted video resources