•Arrays are always passed as a pointer to the first array
element
•
•int
main()
•{
• int array[10];
•
• func(array, 10);
• func2(array, 10);
•
• return 0;
•}
•
•The following declarations are equivalent:
•
•void
func(int *array, int numElem);
•void
func2(int array[], int numElem)
•{
• array[0] = 0;
•}