Discussion: On the Case
Execute code to understand the output and gain insights into bitwise operators ( | , & ).
We'll cover the following...
We'll cover the following...
Run the code
Now, it's time to execute the code and observe the output.
Understanding the output
Two lines are output:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
Code output
The uppercase letters are converted into lowercase. Lowercase letters are converted to uppercase.
Explanation
Most C programmers rush to the ctype functions when letters need case conversions. The toupper() and tolower() ...