C-programming - Bitwise operators, C++ bitwise operators
Bitwise operators
Bit manipulation operators manipulate individual bits within a variable.#include <iostream.h> void main() { unsigned int num=2; unsigned int shift=1; num = num << shift; cout << "The Value after shift left is::" << num << '\n'; } output The Value after shift left is::4
The topic on C-programming - Bitwise operators is posted by - Malar
Hope you have enjoyed, C-programming - Bitwise operatorsThanks for your time