Write a program to swap two numbers with a third variable and without using a third variable.
Anonymous
Using third variable void swap(int a,int b){ int temp=a; a=b; b=temp; } Without using third variable void swap(int a,int b){
Check out your Company Bowl for anonymous work chats.