int main ()
{
int g= 1, h= 2;
 int t; t=g;g=h;h=t;
}

hope this helps

On 2/4/12, rahul sharma <rahul23111...@gmail.com> wrote:
> swap(a,b,c) c t;t=a;a=b;b=t;
>
>
> int main()
> {
> int g=1,h=2;
> swap(g,h,int);
> }
>
> how the actual values are replace???
> a and b are replaced with g and h....actual are replace..can somebody tell
> me expanded source code???
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to