previous | start | next

10. Pointer Example 3

Write a function to print the elements in an array using pointers, but without using subscripts!

Hints:

void printArray(int *a, int n)
{
   int *p = a;
      
}


previous | start | next