swap with out using temporaryThis tip submitted by raghava on 2006-07-17 05:26:35. It has been viewed 25612 times.
Rating of 6.3 with 416 votes
int a,b; scanf("%d %d",&a,&b); b=(a+b)-(a=b); printf("%d %d",a,b);
Help your fellow programmers! Add a tip!