1 votes 1 votes If $X$ is a binary number which is power of $2$, then the value of $X \& (X-1)$ is : $11\dots11$ $00\dots00$ $100\dots0$ $000\dots1$ Digital Logic ugcnetjan2017ii digital-logic number-system + – go_editor asked Mar 24, 2020 • recategorized May 24, 2020 go_editor 1.6k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Answer A) Consider X = $2^2 = 4$ X = 0100 X-1 = $3$ X-1 = 0011 X & (X-1) = 1111 Consider X = $2^3 = 8$ X = 1000 X-1 = $7$ X-1 = 0111 X & (X-1) = 1111 So, Ans A) 11...11 Arunav Khare answered Apr 29, 2017 Arunav Khare comment Share Follow See all 0 reply Please log in or register to add a comment.