/* * passval3.c */ #include void swap(int,int); int main(void) { int aa,bb; aa=5; bb=26; // Displaying the values of aa and bb before calling swap() printf("Before calling swap(), aa is: %d and bb is %d\n", aa,bb); swap(aa,bb); // calling swap printf("After calling swap(), aa is: %d and bb is %d\n", aa,bb); return 0; } void swap(int xx, int yy) { int tmp; tmp=xx; xx=yy; yy=tmp; printf("\nIn swap():"); printf("xx is: %d and yy is: %d\n", xx,yy); }