What actual;y happens when one type is converted from another.
For example,
If I have an unsigned char which is one byte, and I wanted do display it as a number
does it actually convert it to an int and use 32-bits of memory?Code:std::cout << (int)char_var;
I guess my main question is; is it any more efficient to store a number under 255 in a char?