+ 2
swapping of two numbers right cin>>a>>b; using temp var t=a; a=b; b=t; cout<<a<<b; without temp a=a+b; b=a-b; a=a-b; cout<<a<<b;
19th Oct 2017, 11:02 AM
Nanda Balakrishnan