To add to the RGBA example - bitwise operations are also very widely used in an embedded programming context such as on a microcontroller. Quite often these operations are used to toggle bits in some specific register which is controlling a peripheral of the microcontroller.
@MikeShah7 ай бұрын
Cheers, a great example!
@ghulam25452 жыл бұрын
one thing I would like to add (mostly I do). to check whether a number is odd or even, by using bit "&" operator.
@MikeShah2 жыл бұрын
Ooo nice!
@dhanushs18022 жыл бұрын
Neatly explained as always, and also the examples were helpful to understand the uses. Thank You.
@MikeShah2 жыл бұрын
Thank you and you are most welcome!
@windowsbuilderthegreat31212 жыл бұрын
Please can you do a video on string comparison in C
@MikeShah2 жыл бұрын
I have a lesson on strings here -- that may give some insight on strcmp and string operations :) kzbin.info/www/bejne/rGe8o6Klh5qZf6s