0 votes
31 views
asked in C++ by

HI all

   Sample code for swap with out using temporary? in c++

1 Answer

0 votes
answered by
int a,b; scanf("%d %d",&a,&b); b=(a+b)-(a=b); printf("%d %d",a,b);

Categories

...