Sail E0 Webinar
Question

Is there any difference int the following declarations?
int fun(int arr[]);
int fun(int arr[2]);


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

No, both the statements are same. It is the prototype for the function fun() that accepts 

one integer array as an parameter and returns an integer value.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers