<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dr. Nesterenko,<div><br></div><div>I was doing some reading into program memory, and found this interesting diagram:</div><div><div><img src="cid:ii_k8t2bgl30" alt="programMemory.jpg" width="116" height="299" style="margin-right: 0px;"><br></div></div><div>you mentioned BSS a couple times in class, I found it to be &quot;Block Started by Symbol&quot;.</div><div><br></div><div>So <b>static variables</b> of fixed size get put into the <b>BSS</b> block,</div><div><br></div><div><b>local variables </b>and function call frames get put into the <b>stack</b> (variably sized), First in Last Out</div><div><br></div><div><b>Dynamic variables</b>, objects allocated with &quot;new&quot; keyword, get put into the <b>heap</b> (variably sized).  When needed, can call on something from heap using pointers to them</div><div><br></div><div>Is this correct?</div><div><br></div><div><br></div></div></blockquote><div><br></div><div>Very much so. Well described too. This will be discussed in detail in OS class.</div><div><br></div><div>Thanks,</div><div>--</div><div>Mikhail </div></div></div>