title: Is there a scope resolution operator in C language?
body: <p>I am reading a book on the C language (<em>'Mastering C'</em>), and found the topic on scope resolution operator (<code>::</code>) on page 203, on Google Books <a href="http://books.google.co.uk/books?id=19F8byBjFJ8C&amp;printsec=frontcover&amp;source=gbs_ge_summary_r&amp;cad=0#v=onepage&amp;q=scope&amp;f=false" rel="nofollow noreferrer">here</a>.</p>
  
  <p>But when I run the following code sample (copied from the book), the C compiler gives me an error. I searched on the internet but I am unable to find any reference to a scope resolution operator in C.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int a = 50;
  int main(void)
  {
      int a =10;  
      printf("%d",a);
      printf("%d\n", ::a);        
      return 0;
  }
  </code></pre>
  
  <p>So if I want to access a global variable then how could I do that from within the <code>main()</code> function ?</p>