CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Bitwise Operators

PowerShell – Bitwise Logical Operators

PowerShell provides below list of Bitwise operators and these ONLY works on Integer types. Why only Integer types? Because, these operators works on bits (0s and 1s) and only numeric types can support bitwise operations. Bitwise AND -band operator This operator takes two operands as inputs and apply the bitwise AND operation on each bit […]

C Programming – Using bitwise operators

C provides bitwise operators to deal with bits. Each bit is either “0” or “1”. In this article, we are going to discuss how to use bitwise operators in C. C provides the following bitwise operators. & (Ampersand – Bitwise AND Operator) | (Pipe Symbol – Bitwise OR Operator) ^ (Cap Symbol – Bitwise XOR […]

Scroll to top