Hi,
Write an algorithm to swap the values of two variables without using a third variable.
C# programming
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Suthish NairRank #92 · 22.8K reputationPosted Jul 20, 2012, 9:56 AM EDT
int i = 1;
VulpesRank #55 · 29.2K reputationPosted Jul 20, 2012, 10:08 AM EDT