Skip to content

Commit

Permalink
Refresh HTML pages
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed May 5, 2024
1 parent ba5ce79 commit 30b4a6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 10.html
Original file line number Diff line number Diff line change
Expand Up @@ -10021,9 +10021,9 @@ <h2 class="Box-title">
<p>🔑 <a href="https://github.com/devnull-cz/c-prog-lang/blob/master/src/strsepc.c">strsepc.c</a></p>
<div class="markdown-heading"><h1 class="heading-element">heap/dynamic allocation: malloc()/free()</h1><a id="user-content-heapdynamic-allocation-mallocfree" class="anchor" aria-label="Permalink: heap/dynamic allocation: malloc()/free()" href="#heapdynamic-allocation-mallocfree"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
<p>The memory automatically allocated for local variables and function parameters
is allocated in an area called a <em>stack</em>. There is an area called a <em>heap</em> to
allocate memory that lasts after the function returns. That is also called
a <em>dynamic allocation</em>.</p>
is allocated in an area called a <em>stack</em>. There is also an area called a <em>heap</em>
to allocate memory that lasts after the function returns. That is also called a
<em>dynamic allocation</em>.</p>
<p>The allocator in the standard C library offers the
<code>malloc</code>()/<code>calloc</code>()/<code>free</code>()/... APIs for heap allocation.</p>
<p>❗ The <code>malloc</code>/<code>calloc</code> functions return a pointer to a
Expand Down

0 comments on commit 30b4a6d

Please sign in to comment.