// copyright 1999 Brian J. Reithel, Ph.D. #define LIMIT 4 int main() { contact contacts[LIMIT]; contact holder; int outer, inner; for(outer=0;outer0){ holder.setemail(contacts[outer].getemail()); contacts[outer].setemail(contacts[inner].getemail()); contacts[inner].setemail(holder.getemail()); // 3 more statements to swap name // 3 more statements to swap phone } } } for(outer=0;outer