Les wrote:
sizeof generally returns size in bytes or words (depending on how the implementer read the spec) I have never seen it return words.
sizeof(.) is required to return the size in bytes, period. A byte may have 32 bits.
And the Cray stored 8 characters in 64 bits using ASCII coding a LONG time ago. I had forgotten about that. I think that was the model where you sat on the processing unit when you were at the console.
The DEC KAL10 stored 5 characters in a 36 bit word with one bit left over for anything you wanted to do with it! It used 7 bit ASCII, of course. Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that!