Original Post
I just came across this code and don't fully understand why it 'works' or behave in this way.
unsigned int blah = 'blah'; Looking at the variable in memory shows: halb Which is 'blah' backwards. I see how 4 chars fit in the unsigned int physically but it doesn't seem to make any sense especially when I expect to see a single char between '' and is copied backwards. Cheers. Edit: Forgot to mention, this is in C++.