title: C++ Without initialization variable
body: <p>I have got a problem from my friends. The problem is Without initialization  of variable how to print 0 to 10?</p>
  
  <p>I know method to print using for loop using initialization</p>
  
  <pre><code> for(int i=0;i&lt;=10;i++) {
       cout&lt;&lt;i;
   }
  </code></pre>
  
  <p>Here <code>int i = 0</code> was initialized. Then how can one print 0 to 10 values  without initialization  of the relevant variable? It is possible or not?</p>