Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #define swap(t,x,y) { t _z;\
- _z = x;\
- x = y;\
- y = _z;}
- /* Print the input line */
- int main()
- {
- int x=5;
- int y=6;
- swap(int,x,y);
- printf("x = %d\ny = %d\n",x,y);
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment