Write a C program to input any number from user and find highest order set bit of given number using bitwise operator. How to find the highest order of the set bit of a given number using bitwise operator in C programming. Logic to get highest order set bit of a number in C programming.
Example
Input
Input any number: 22
Output
Highest order set bit in 22 is 4.