/* * EE 475 Fall 2003 * Lab #7 * * Exercise #1 example file * */ #include "DBug12.h" void swap1(int x, int y){ int temp; temp = x; x = y; y = temp; } void swap2(int *x, int *y){ int temp; temp = *x; *x = *y; *y = temp; } void main(void){ int x,y; x = 3; y = 4; swap1(x,y); swap2(&x,&y); } /* end of main() */ /* End of file */