Given a number, change all bits at even positions to 0.
Input : 30 Output : 10 Binary representation of 11110. Bits at Even positions are highlighted. After making all of them 0, we get 01010
First line consists of T test cases. Only line, consists of a integer N.
Single line output, print the modified number.
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.