+ 1
Tamim Moh'd in general, bitwise operators are used on integral types such as int or char.
0
Here's an example of using the | operator to perform a bitwise OR operation on two binary values in C#:
https://code.sololearn.com/cX7z8Gx3fSTE/?ref=app
0
Tamim Moh'd
You should specify programming language in your question tag.
Binary files and binary notation is not the same thing.
From your profile, it seems you are learning Python.
Python eqivalent of CalviŐČ 's example.
https://code.sololearn.com/cDAZ31WtmrxT/?ref=app