title: Cannot convert 'int*' to 'int**' for argument '1'?
body: <p>I am trying to write a program which prints the cubes of inserted elements of array, and then prints the sum of elements divisible by 2, and not divisible by 3.</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;math.h&gt;
  
  using namespace std;
  
  void kub(int *niz[], int n)
  {
      int i=0;
  
      while(i&lt;n)
      {
          *niz[i]=pow(*niz[i],3);
          i++;
      }
  }
  
  void unesi(int* niz[],int n)
  {
      int i=0;
  
      while(i&lt;n)
      {       
          cin&gt;&gt; *niz[i];
          i++;
      }
  }
  
  void stampaj(int* niz[],int n)
  {
      int i=0;
  
      while(i&lt;n)
      {
          if ((*niz[i]%2)==0 &amp;&amp; (*niz[i]%2)!=0)
              cout&lt;&lt;*niz[i]&lt;&lt;endl;
  
          i++;
      }
  }
  
  int main()
  {
      int n;
      cin&gt;&gt;n;
      int niz[n];
  
      unesi(niz,n);  /* &lt;&lt;= here */
      kub(niz,n);
      stampaj(niz,n);
      return 0;
  }
  </code></pre>
  
  <p>Everything is fine, until this line of code (marked "<strong>&lt;&lt;= here</strong>"): "unesi(niz,n);"  What am I doing wrong?</p>