[prev] [index] [next]

Exercise: Pointer-based Array Scans

Rewrite the two function from before:

int  sumArray(int array[], int nelems);

void  printString(char string[]);

to use pointer-based scans.

Do the function interfaces need to change for this?