InterviewSolution
Saved Bookmarks
| 1. |
How will you swap two variables? Write different approaches for the same. |
Answer» int NUM1=20, NUM2=30, temp;temp = num1;num1 = num2;num2 = temp;
The order of evaluation here is right to left.
Here the order of evaluation is from left to right. |
|