Hi everyone,
Why
uint8_t c;
c = ~0x0A; printf("%u", (unsigned int)c);
outputs value greater than 8bit variable can hold? for example the output might be something like this: 65525.
Is there is an approach to print 8bit variable's values using printf function?