Swap two variables without using third variable.
#include<stdio.h>int main(){ int a=5,b=10; a=b+a; b=a-b; a=a-b; printf("a= %d b= %d",a,b);}
View answer Workspace Report Error Discuss