On Tue, Feb 16, 2010 at 10:40 AM, Muhammad Uzair <[email protected]> wrote:

> swap(int *x,int *y)
> {
> int t;
> t=*x;
> *x=*y;
> *y=t;

You're using a temporary. The function call using pointers is
misdirection and irrelevant.


-- 
PJH

http://shabbleland.myminicity.com/env
http://www.chavgangs.com/register.php?referer=9375

Reply via email to