How to use this function AddToArray? : <p>I took from here <a href="http://fydo.net/gamedev/dynamic-arrays" rel="nofollow noreferrer">http://fydo.net/gamedev/dynamic-arrays</a>  the quality of the dynamic array.
But I do not know how to use it and I get this error:</p>

<pre><code>test.c: In function 'main':
test.c:26:25: warning: comparison between pointer and     integer [enabled by default]
test.c:35:39: error: expected expression before 'DATA'
test.c: In function 'AddToArray':
test.c:72:17: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration]
test.c:72:30: warning: incompatible implicit declaration of built-in function 'realloc' [enabled by default]
</code></pre>

<p>I'm trying to do it like this:</p>

<pre><code>fprintf(stdout, "%d\n", AddToArray(DATA 5));
</code></pre>

<p>I read the tutorial and know the syntax of the language, but for some reason they did not teach me that. So tell me how to use this function correctly</p>
