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 basic concept of oop?
What is and I oop mean?
what is the use of mutable key word
Write an operator overloading program to Overload ‘>’ operator so as to find greater among two instances of the class.
What is the fundamental idea of oop?
Where You Can Use Interface in your Project
What is variable example?
What is polymorphism explain?
What is the difference between inheritance and polymorphism?
What are the benefits of interface?
Can a varargs method be overloaded?
What are the 4 main oop principles?