Visual Studio error C3409 in header file while compiling C
<p>I have a working code with a function in it. while compiling without the function declaration in the header, it works.
While compiling with the function declaration in the header, I get a number of errors (screenshot included)</p>

<p>Function Declaration:</p>

<pre><code>int get_number_of_possibilities(Item inventory[], double money, int size);
</code></pre>

<p><a href="https://i.stack.imgur.com/UonGC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UonGC.jpg" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/W3Z0H.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W3Z0H.jpg" alt="enter image description here"></a></p>