#include <stdio.h>
void print_a(int *pp[], int a);
void sub(int *ptr)
{
printf("%d \n", ptr[10]);
ptr[10] = 99;
}
int main(void)
{
int large_data[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 };
sub(large_data);
printf("%d \n", large_data[10]);
print_a(large_data, 20);
return 0;
}
void print_a(int *pp[], int a)
{
for (int i = 0; i < a; i++)
{
printf("%d ", pp[i]);
}
}