Example (swap)
swap(int *x, int *y)
/*swaps x and y*/
{
int temp;
temp = *x;
*x = *y;
*y = temp;
}
Previous slide
Next slide
Back to first slide
View graphic version