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 the difference between declaration and definition?
In which cases you use override and new base?
What are the advantages of inheritance?
26 Answers IBS, TCS,
What is the real life example of polymorphism?
How can you overcome the diamond problem in inheritance?
What is for loop and its syntax?
What is a class in oop?
Why do we use polymorphism?
what type of questions
What is virtual destructor? Why?
3 Answers Agile Software, College School Exams Tests, CSC,
What are the components of marker interface?
wht is ditch