title: where in memory static variables are stored?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/93039/where-are-static-variables-stored-in-c-c">Where are static variables stored (in C/C++)?</a>  </p>
  </blockquote>
  
  
  
  <p>I am wondering where global variables and static variables are stored in C/C++. as far as   local variables are stored in stack when function is active  we also request memory from heap   but I have no clue about static  and global variables. Could any one please throw light on it.</p>