Please write a snippet code (logic) for how to swap two values without using the third variable?
Manohar Answered question July 8, 2019
Try this logic..
int f = 10;
int s = 5;
f = f * s;
s = f / s;
f = x / s;
Manohar Changed status to publish July 8, 2019