Find first set bit
Given an integer an N, write a program to print the position of first set bit found from right side in the binary representation of the number.
I/P 18, Binary Representation 010010
I/P 19, Binary Representation 010011
Can anyone explain with the help of an example