can you assign initial value to global static variable in C? : <p>I have a global variable "count". All I want to do is increment it each time the loop runs. Is there a potential problem with initializing static count as 0? How is this works in C?</p>

<pre><code>static unsigned short count = 0;
while(1)
{
    count++;
    // do something
}
</code></pre>
