<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="C dynamic memory allocation - Page 3 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=C_dynamic_memory_allocation&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=C_dynamic_memory_allocation&amp;p=4">3.Next</a>
</p>
<p>memory.</p>

<p><big>Rationale</big></p>
<p>The <a href="page.php?w=C_%28programming_language%29">C programming language</a> manages memory <a href="page.php?w=Static_memory_allocation">statically</a>, <a href="page.php?w=Automatic_memory_allocation">automatically</a>, or <a href="page.php?w=Dynamic_memory_allocation">dynamically</a>. Static-duration variables are allocated in main memory, usually along with the executable code of the program, and persist for the lifetime of the program; automatic-duration variables are allocated on the <a href="page.php?w=call_stack">stack</a></p><p>
<a accesskey="1" href="page.php?w=C_dynamic_memory_allocation&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=C_dynamic_memory_allocation&amp;p=4">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
