0
What is the use of exclusive or ^ in c++??
3 Answers
+ 1
You can use it as a conditions in a loop for example just like you would use an or || or an and &&, exclusive or means either this or either that, both can't be true and both can't be false
+ 4
https://code.sololearn.com/cxzrEIuhJI1U/?ref=app
Since you ask what is the use