Changing Cases in a String
ASCII values and it's importance in changing cases in a string.
Common ASCII Codes:
A = 65
Z = 90
a = 97
z = 122
The Logic:
To covert from uppercase to lowercase, add 32 to the uppercase character.
To convert from lowercase to uppercase, subtract 32 from the lowercase character.
C Function:
Contributed by Nitin Ranganath
Last updated