Answers

2014-09-25T10:38:23+05:30
Program in c to swap the values of two variables using a third variable or say using assignment operators- #include #include Int main () { Int a, b, c; Clrscr (); Printf ("enter the values of a and b"); Scanf("% d% d",&a,&b); /*swapping values*/ c=a; a=b; b=c; Printf (" values of a and b after swapping calues is "); Printf (" a, b"); getch (); return 0; }
0