Optimal Code for initialization
<p>Which of the following code would be optimal for initializing array?</p>

<pre><code>char szCommand[2048] ={0}
</code></pre>

<hr>

<pre><code>char szCommand[2048];
memset(szCommand,0,2048);
</code></pre>
