We've 26 alphabets in English and using ASCII code we're representing it in the computer system. As an example, 'A' is represented as 65 in decimal, and 'a' is represented as '97' in decimal.
Now check the binary counterpart of 65 and 97.
The following code demonstrates it:
*Inspired by Great People with whom, I didn't get the chance so far to work. I've crossed my finger and waiting for the day to come.
Now check the binary counterpart of 65 and 97.
65 = 01000001
97 = 01100001
The following code demonstrates it:
#define toUpper(ch) ((ch >= 'a' && ch <='z') ? ch & 0x5f : ch) int _tmain(int argc, _TCHAR* argv[]) { printf("Upper case conversion: %c\n", toUpper('b')); return 0; }
*Inspired by Great People with whom, I didn't get the chance so far to work. I've crossed my finger and waiting for the day to come.
Comments