software
 






 

Question by  madsovenielsen (2)

Is it true that a uppercase letter takes up 2 bytes?

compared to only 1 byte for a lowercase letter.

 
+7

Answer by  nimrod (321)

It is NOT TRUE, uppercase and lowecase letters are stored using the same space that is one or two bytes depending on the application you are using.

 
+6

Answer by  magik (63)

No, that is not true. Every character from the keyboard takes one byte space. With 1 byte 256 characters can be formed. As 2*2*2*2*2*2*2 = 256 that is from 0 to 255. The ASCII of uppercase letter starts from 65. This is in the range of 0 to 255.

 
+5

Answer by  gigo (1706)

It is not true. Numbers lowercase and uppercase letters all are stored in the same size. Its true that lowercase letters have more zeros in the mask.

 
+5

Answer by  nickl2000 (540)

No it isn't true at all. It depends on the character set that you are using as to how much it takes up. If you are using ASCII, all characters take up 1 byte. If you are using Unicode, all take up 2 bytes

 
You have 50 words left!