Please explain how none is correct

Explanantion required. what is meant by none. is it runtime error?

hello @pd.pankajdahiya

please share the question as well.

Q4. bitmask index of on lsb Which one line function can be used to get index of the least significant bit that is on (first 1 from right to left in binary representation of an integer) ? log2( N ^ -N ) + 1 log2( N | -N ) + 1 log2( N & -N ) + 1 log2( N ~ -N ) + 1

explanation of solution needed.

N&-N will return the place value of lsb
now if you take log and add +1 it will definetly give you index of lsb