The New Swap Program
void swap(int& x, int& y);
void main()
{
int FirstInt = 10;
int SecondInt = 20;
// Call the swap() function
swap(FirstInt, SecondInt);
}
Previous slide
Next slide
Back to first slide
View graphic version