mangaforcodewise.hashnode.net·Apr 6, 2023Bit manipulation & bitwise operatorsLet's dive right into bitwise operators. If you need to operate on numbers of other bases, you first have to convert them to binary. You may come across different prefixes that denote different bases. It is supposed to tell you what base the number i...17 likes·604 readsCAdd a thoughtful comment3 commentsTop commentsPaul John·Apr 6, 2023Apr 6, 2023thank you 1·ReplyRoyalty·Apr 6, 2023Apr 6, 2023Nice article 💯 A little bitwise trick… // swap a and b without an extra variable a = a ^ b b = a ^ b a = a ^ b Try it. ·Reply·1 replyHide replies mangaAuthor·Apr 6, 2023Author·Apr 6, 2023Awesome. Thank you 1·Reply
Royalty·Apr 6, 2023Apr 6, 2023Nice article 💯 A little bitwise trick… // swap a and b without an extra variable a = a ^ b b = a ^ b a = a ^ b Try it. ·Reply·1 reply