Dear all I am new in C programming and at the moment I am studying array and pointers.
This piece of code is from an exercises I was looking and declares a function findMax as a pointer passing two arguments int arr[] and int n. The number of data values n is used to specify the size of the array.. What I dont undertand is the int arr[n] point.
Can someone explain me how this piece of code is working?
Thanks in advance
int *findMax(int arr[],int n);
int main(){
int n,i,*p;
printf("Enter number of data values");
scanf("%d",&n);
int arr[n];