7.7: Arrays as Function Arguments: 10652


Question

Write a statement that declares a prototype for a function  printArray , which has two parameters. The first parameter is an array of element type  int and the second is an  int , the number of elements in the array. The function does not return a value.

Solution
void printArray(int [], int);

No comments:

Post a Comment