Find the output for the following C program#define swap1(a,b) a=a+b;b=a-b;a=a-b;main(){int x=5,y=10;swap1(x,y);printf("%d %dn",x,y);swap2(x,y);printf("%d %dn",x,y);}int swap2(int a,int b){int temp;temp=a;b=a;a=temp;return;}

10; 5

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions