Skip to content

Commit 094ae74

Browse files
Update bitwise-operator.md
1 parent fd1413f commit 094ae74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lessons/bitwise-operator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ if (x & 1 ) == 0
254254
else
255255
return false;
256256
```
257-
### Q2. Convert characters to uppercase / lowercase
257+
### Q2. Convert characters to Uppercase/Lowercase
258258
This trick tests your knowledge of uppercase and lowercase characters in binary. You can convert any character, `ch`, to the opposite case using `ch ^= 32`.
259259

260260
This is because the binary representation of lowercase and uppercase letters are nearly identical, with only 1 bit of difference.

0 commit comments

Comments
 (0)