Programming Quiz: Which Code Fails to Get the i-th Bit?

preview_player
Показать описание
🧠 Test your coding skills! Which of these code snippets doesn’t correctly return the i-th bit of x?

::::::::::::::::::::
Wataboi - Cali
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Music promoted by Vive Melody
::::::::::::::::::::
Рекомендации по теме
Комментарии
Автор

first one, bcz of priority . brackets are needed to be around before doing bitwise and else eqn will give diff output

s_
join shbcf.ru