Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how is 3&&7 =3?????

0 votes
asked Feb 17, 2019 by anonymous
related to an answer for: Explain me the output please...

1 Answer

0 votes
answered Feb 17, 2019 by anonymous
7 = 0b111

3 =0b011

bitwise AND result in 0b011 which is 3

see Boolean Logic
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...