Questions tagged [bitshift]
The bitshift tag has no usage guidance.
1
question
0
votes
1
answer
59
views
Why is char being "extended" to an int?
I know I'm missing something so simple here, but I can't figure it out.
If I do char letter = 'A'; then letter = letter << 8, letter = 0, as one should expect, since we are shifting the bits &...