The minimum number of temporary variables needed to swap the contents of two variables is
A. | 1 |
B. | 2 |
C. | 3 |
D. | 0 |
Answer : D Explanation : without any temporary variable, one can swap two given variables. |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |