Arrays and functions

Can arrays be called in a function ? And also can you have numbers in the array ?

Why don’t you try it out?

I guess you new to programming so first I’ll tell you can create arrays in any function and basically everywhere you want so don’t worry. Also, of course they can save numbers, and a lot more then that.
I would recommend you to try writing and learn from it with the time. you can use some programs to help you develop correctly and detect problems among the code. I know one called Chekmarx that you can try.
Good luck learning!
Micheal.