Skip to content

Commit dd22832

Browse files
committed
Add Structure
0 parents  commit dd22832

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

Gliederung.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Pointer Arithmetik
2+
==================
3+
- Was ist Pointer Arithmetik
4+
- Allgemein
5+
- In C
6+
- Arithmetische Optionen
7+
- Zwischen Pointer
8+
- Zwischen Pointer und Ganzzahl
9+
- Anwendungsbeispiele
10+
- Tauschen über Scopes hinweg
11+
- Iterriren durch Arrays
12+
- Heap vs. Stack
13+
14+
Stack
15+
16+
very fast access
17+
don't have to explicitly de-allocate variables
18+
space is managed efficiently by CPU, memory will not become fragmented
19+
local variables only
20+
limit on stack size (OS-dependent)
21+
variables cannot be resized
22+
23+
Heap
24+
25+
variables can be accessed globally
26+
no limit on memory size
27+
(relatively) slower access
28+
no guaranteed efficient use of space, memory may become fragmented over time as blocks of memory are allocated, then freed
29+
you must manage memory (you're in charge of allocating and freeing variables)
30+
variables can be resized using realloc()
31+
32+

0 commit comments

Comments
 (0)