How do you pass a 2D int array of size n to a function in C++? : <p>I simply want to pass a 2d array to a function but C++ is not like JAVA and won't let a function take in 'int[][] square' as its parameter. Apparently I need to specify its size, but it's size is a variable n by n, which the user inputs.</p>
