SwapSwap
computer programming
Common
Rarity: Common
The most frequent rarity: most Wikipedia articles become Commons.
Rarity follows how well known the article is: its views on the French and English Wikipedia over a year, and the number of languages it exists in.
At a glance
- Class
- Notion
- Domain
- Science and technology
- In collections
- Nobody has pulled it yet.
What Wikipedia says
In computer programming, the act of swapping two variables refers to mutually exchanging the values of the variables. Usually, this is done with the data in memory. For example, in a program, two variables may be defined thus (in pseudocode):
Excerpt from the Wikipedia article “Swap (computer programming)”, under the CC BY-SA 4.0 license. Read the article on Wikipedia
Image: Michel Bakni, CC BY-SA 4.0, via Wikimedia Commons.
Open free boosters and add Swap to your collection.
Play for free




