function_3(array_parameter)
int array_parameter[];
{
int local_array[10];
/* The following two statements perform the same thing */
array_parameter[1] = 5;
*(array_parameter + 1) = 5;
}
function_4(array_parameter)
int *array_parameter;
{
int local array[10];
/* The following two statements perform the same thing */
*(array_parameter + 1) = 5;
array_parameter[1] = 5;
}
calling_function()
{
int array_passed[10];
function_3(array_passed);
function_4(array_passed);
}