Why am I able to input an arbitrarily large amount of semicolons after the return statement of a function?
<p>I find that in a function return statement I am able to do this.</p>

<pre><code>int f() {
    return 1;;;;;;;;;;;;;;;;;;;;;;;; // ...;;;
}
</code></pre>

<p>I can add as many semicolons as I want and the above doesn't result in any compiler or runtime errors. This surprised me coming from a strict language like C++. Can someone explain why I am able to do this? I'm <em>unable</em>, however, to do this in any other context.</p>

<pre><code>int x = 1;;;; // error
</code></pre>

<p>So can someone tell me why I am able to do something like this?</p>
