Sail E0 Webinar
Question

Is there any difference in the following declarations?

int myfun(int arr[]);
int myfun(arr[20]);



Options:
A .  Yes
B .  No
Answer: Option A

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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers