int *func(int *p)
{
int i,m1=0,m2;
for(i=0;i<5;i++)
{
if(*(p+i)>m1)
{
m1 = *(p+i);
m2 =i;
}
}
return (p+m2);
}
int main(int argc, char const *argv[])
{
static int arr[5] = {10,20,30,40,50};
int *pt;
pt = func(arr);
return 0;
}
In the above program,when executed, What is the value assigned to "pt" and value of m1, respectively,when program finished executing?
(A) Element of arr,20
(B) Address of arr,30
(C) Address of element of arr,40
(D) Address of element of arr,50