In this video we will learn to swap the value of two variables using XOR operator and without using a third variable.
XOR is also known as eXclusive OR.
In programming XOR operator is denoted by caret ^
XOR works with bit i.e., 0 and 1.
Also watch:
Swap two numbers without using third variable.
• 01 C | Swap two numbers without using...
Complete Playlist:
• Programming
You can download the project code from my GitHub repository
https://github.com/yusufshakeel/C-Pro...
Thanks for watching :-)