# Relationship between a and the ascii code value of a

### The relationship between the letter a and the ascii code value of a is

The relationship between the letter a and the ascii code value of a is the ASCII code of A > “a”. Among the options AA’s ASCII code >a’s ASCII code BA’s ASCII code CA’s ASCII code >=a’s ASCII code D cannot be compared with A, A’s ASCII code > “a”.

### What is the relationship between a and A in the ASCII character table?

a and A are not particularly related

a’s ASCII is 61 (hex)

A’s ASCII is 41 (hex)

Difference 20 (hex)

### Why is the difference between the ASCII codes for the upper and lower case letters “a” and “A” 32?

Well, after more than a decade, not one of them has answered the question.

That’s the beauty of ASCII’s design.

Because the uppercase letters A-Z:[65,90], and the lowercase letters a-z:[97-122]; looking at their binary reveals that

65=1000001

90=1011010

97=1100001

122=1111010

What was found?

Uppercase to lowercase requires +32, and the bit 65-90 that represents 32 is always 0, so +32 can be converted to |32.

Computers have only bitwise operations at the bottom, and all basic operations are eventually interpreted as bitwise operations, so +32 is directly replaced with |32, which improves efficiency.

P.S.

Uppercase to lowercase, lowercase to uppercase: character ^=32;

Uppercase to lowercase, lowercase to lowercase: character |=32;

Lowercase to uppercase, uppercase to uppercase: character &=-33;.

### ASCII code, the letters A and a comparison, who is big, or that can not be compared

Can be compared, but only with ASCII code comparison, A’s ASCII number is 41, a’s ASCII code is 61, a big chanting