Bitwise operators | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Bitwise operators

I understand what bitwise operators do technically but how would you use them in real world programs. Thank you for your assistance

20th Jun 2018, 7:14 PM
Bradley
3 Answers
+ 2
example here to do stuff differently for even and odd columns https://code.sololearn.com/cbMyp72KQ3vM/?ref=app
20th Jun 2018, 8:03 PM
VcC
VcC - avatar
+ 2
in embedded programming those operators are also very useful (e.g. setting input and output pins of a microcontroller)
20th Jun 2018, 8:13 PM
Arc
Arc - avatar