title: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
body: <p><img src="https://i.stack.imgur.com/XTH5J.jpg" alt="enter image description here">Could not able to solve this..
  I am implementing a queue. After writing the complete code I had the error listed below:</p>
  
  <p><code>expected '=', ',', ';', 'asm' or '__attribute__' before '.' token</code></p>
  
  <p>Then I wrote a simple program, but same problem persists. Couldn't able to understand how to solve this. I have looked into solutions in <code>stackoverflow.com and google.com</code> a lot but still couldn't able to solve this.Please help.</p>
  
  <p>I would like to <code>initialize globally</code> <code>Q.front = Q.rear = Any value</code></p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  struct Queue
  {
      int front, rear;
      int queue[10] ;
  };
  struct Queue Q;
  Q.front = 0;
  Q.rear = 0;
  
  int main()
  {
      return 0;
  }
  </code></pre>