/* cpintarray.c -- Example showing how addresses and arrays are alike */ #include #define SIZE 8 void cpIntArray(int *a, int *b, int n) /*It copies n integers starting at b into a*/ { for(;n>0;n--) *a++=*b++; } void printIntArray(int a[], int n) /* n is the number of elements in the array a. * These values are printed out, five per line. */ { int i; for (i=0; i