void print1(int *, int);<~~~呢個係點解 ? 好似唔係FUNCTION 黎WO
main() {
int list[ ] = {3, 4, 5, 6, 7};
print1(list, 5);
}
void print1(int *ptr, int rows) { <~~~`又會REPEAT GE
int i ;
printf("Address contents\n");
for(i=0; i<rows; i++ )
printf("%8u%5d\n", ptr+i, *(ptr+i));
printf("\n");
system("PAUSE");
}