Answer Posted / 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 |
Post New Answer View All Answers
What does and I oop mean?
What does enum stand for?
Why is destructor used?
What is methods in oop?
Do you know about multiple inheritance?
What is cohesion in oop?
How to call a non virtual function in the derived class by using base class pointer
How do you use inheritance in unity?
What is class in oop with example?
What is the use of oops?
What type of loop is a for loop?
Explain virtual inheritance?
Why is oop useful?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
What is balance factor?