0_0_37429912_14731.cpp: In function 'int f(int*)':
0_0_37429912_14731.cpp:17:12: error: 'n' was not declared in this scope
for(i=1;i<n;i++)
^
0_0_37429912_14731.cpp: In function 'int main()':
0_0_37429912_14731.cpp:32:26: error: invalid conversion from 'int' to 'int*' [-fpermissive]
printf("%d/n",f(arr[105]));
^
0_0_37429912_14731.cpp:13:5: note: initializing argument 1 of 'int f(int*)'
int f(int arr[])
^
|