enum name as function
<p>What happens if we use the enum name as a function in c++? To elaborate, let me put the following code snippet</p>

<pre><code>enum check{
    HELLO,
    HI,
    HOWDY,
    SALAM,
    SALOM,
    STOP
};

void main() {
    int p  = check();
    cout&lt;&lt;p;
}
</code></pre>

<p>I could assume it may be invoking the default constructor in case of a class or structure, but what happens with an enum? </p>

<p>And if it is some sort of a construtor-like method, does it return 0 ? because 'p' was set to 0.</p>
