Answer the question
In order to leave comments, you need to log in
How can I change the values in a two-dimensional array declared in the main function through another function?
How can I change the values in a two-dimensional array declared in the main function through another function? I am writing a sea battle game, I need to change the values in a two-dimensional array through a separate function.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question