Cannot initialize a parameter of type 'int *' with an rvalue of type 'int (*)[20]'
<h2>Main.cpp</h2>

<pre><code>#include "SelectionSort.h"

using namespace std;


int main() {

    SelectionSort&lt;int&gt; sorterInt;

    int test_array[20];
    sorterInt.stuffNum(&amp;test_array, 20, 1, 200);
}
</code></pre>

<h2>SelectionSort.h</h2>

<pre><code>using namespace std;

template &lt;typename T&gt;
class SelectionSort {
public:
    void stuffNum(T *object, int size, int min, int max)
    {
        for(int i = 0; i &lt; size; i++)
        {


            (*object)[i] = 5;


        }
    }
</code></pre>