Why can I assign a string literal whose length is less than the array itself? <p>I'm a bit baffled that this is allowed:</p> <pre><code>char num[6] = "a"; </code></pre> <p>What is happening here? Am I assigning a pointer to the array or copying the literal values into the array (and therefore I'm able to modify them later)?</p>