Swap two variable values without temp variable

void swap(int x,int y)
{
        x=x+y;
        y=x-y;
        x=x-y;

}
Previous
Next Post »