title: warning: declaration of 'index' shadows a global declaration
body: <p>My Compiler(gcc) is showing the warning</p>
  
  <blockquote>
    <p>warning: declaration of 'index' shadows a global declaration</p>
  </blockquote>
  
  <p>Please help me understand why this warning comes.</p>