TCS Company Programming Arrays

Is there any difference int the following declarations?
int fun(int arr[]);int fun(int arr[2]);
A.Yes
B.No

Read Solution (Total 9)

TCS Other Question

What will be the output of the program ?
#include
int main()
{
int a[5] = {5, 1, 15, 20, 25};
int i, j, m;
i = ++a[1];
j = a[1]++;m = a[i++];
printf("%d, %d, %d", i, j, m);
return 0;
}
1. 2, 1, 15
2. 1, 2, 5
3. 3, 2, 15
4. 2, 3, 20
Are the expressions arr and &arr same for an array of 10 integers?
A.Yes
B.No