line 37: delete the brackets [] after array. You don't normally use those in a parameter unless you put a number inside.
line 53: i is an integer, array is a pointer -- you can't compare them. i < array
is wrong.
line 65:If you want to display the array values you have to do it one element at a time in a loop.