the value stays the same 1010 1011 if i use char or unsigned char. even if i use 171 or -85 does not matter, how is it ?
The 8 bits used to represent -85 and 171 in binary are identical. For a signed value, the first '1' is the sign bit.
the only value that is displayed is changed if i cast to char or unsigned char.
No idea what you mean.
Yes this is about assigning values. You can look at them as byte that represent char or unsigned char no ?
Yes.
There is bit that represent sign so char is not 8bit it is 9 ??
No. A char is always 8 bits*. An unsigned char uses all 8 bits. A signed char uses 7 bits + 1 sign bit.
----------
(* please don't be pedantic. do not confuse the matter by pointing out different systems/environments vs char sizes. the environment here is obvious.)