title: how do i print output as 5 of the following program?
body: <pre><code># include &lt;stdio.h&gt;
  
  int x = 5;
  int main(void)
  {
  
          int x = 7;
          printf("output = %d\n", x);
  
  }
  </code></pre>
  
  <p>The above program shows output as <strong>7</strong>.
  How to print <strong>5</strong> in <strong>c</strong>?</p>
  
  <p>thanx...</p>