Thread
:
How do I swap pointers with a function?
View Single Post
Feb 4th, 2007, 9:19 PM
#
3
Thiengineer
Newbie
Join Date: Feb 2007
Posts: 2
Rep Power:
0
This is what I have so far...am I on the right track? Please help!! You help is greatly appreciated!
void intpswap(int *xp, int *yp)
{
int t = *xp;
*xp = *yp;
*yp = t;
}
Thiengineer
View Public Profile
Find More Posts by Thiengineer