Hello, the problem is that i cant deal with initialization of 2 - n array.
1) It there a way to have input const variable by user?
2) What is wrong with my program? It should allow user to input numbers, then output it.
You didn't remove the array size information from your function calls as shown in my first post. All you need is the name of the array in your function call.
Do you understand the difference between a function call and a function implementation?
You need to remove the array size information in the function call, lines 14 and 15. (see the second snippet in my first post).
The function implementations (lines 20 and 31) require the size information. Please re-read my first post. The function implementations should look the same as the function prototypes (minus the trailing semicolon of course).