i^=j;
j^=i;
i^=j;
value of i,j
Answer / xyz
this code snippet will swap the value of i and j
This code works same as
i=i+j;
j=i-j;
i=i-j;
| Is This Answer Correct ? | 2 Yes | 1 No |
What is encapsulation?
Why is oop useful?
What do you mean by abstraction?
What is ambiguity in c++
Program to read a comment string
What is virtual class and friend class?
c++ is a pure object oriented programming or not?
What is encapsulation selenium?
What is encapsulation oop?
Does c++ support multilevel and multiple inheritance?
Differences between inline functions and non-inline functions?
Can we create object of interface?