Skip to content

Commit f096238

Browse files
committed
Improved note.
1 parent a1a8eb3 commit f096238

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/dynamic-allocation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# heap/dynamic allocation: malloc()/free()
22

33
The memory automatically allocated for local variables and function parameters
4-
is allocated in an area called a *stack*. There is an area called a *heap* to
5-
allocate memory that lasts after the function returns. That is also called
6-
a *dynamic allocation*.
4+
is allocated in an area called a *stack*. There is also an area called a *heap*
5+
to allocate memory that lasts after the function returns. That is also called a
6+
*dynamic allocation*.
77

88
The allocator in the standard C library offers the
99
`malloc`()/`calloc`()/`free`()/... APIs for heap allocation.

0 commit comments

Comments
 (0)