title: Code Keeps saying: "[Error] cannot convert 'float*' to 'float' for argument '1' to 'void test(float, int)'"
body: <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  void test(float, int);
  
  int main()
  { 
      const int size=11;
      float a[size];
  
      test(a, size);
  
      return 0;
  }
  
  void test(float a[], int size)
  {
      [....]
  }
  </code></pre>
  
  <p>it points to test(a, size); but I can't figure out whats wrong(I'm also learning coding and just learned about arrays/confused)</p>