Declarations and Initializations - Programming

Q1:

Is there any difference in the following declarations?
int myfun(int arr[]);
int myfun(arr[20]);

A Yes

B No

ANS:A - Yes

Yes, we have to specify the data type of the parameter when declaring a function.