Passing Array to a Function in C