Array Parameters
An array parameter is treated as a pointer that points to the first element of an array.
Void make_it_all_42(double data[], size_t n)
{
size_t i;
for (i = 0; i < n; i++)
data[i] = 42;
}
Previous slide
Next slide
Back to first slide
View graphic version