unsigned function(int * arr) or int arr[]. Note that this does not tell you how many elements there are. Either assume a constant, or pass it separately.
Also, your array declaration is wrong. It should be int hello[6] = {5, 5, 4, 4, 2, 3};
Note that the number of files has nothing to do with this problem.