Home / C Programming / Arrays :: Discussion

Discussion :: Arrays

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

  2. A.
    Yes
    B.
    No

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    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.


Be The First To Comment