Listing |
File |
Notes |
---|---|---|
1 | 1_sizeof | Return how many bytes in a memory a variable takes up. |
2 | linked_list | An example creating a linked list on the heap in a function and iterating through it. |
3 | pointers1.c | Pointers example showing where things live and point in memory |
4 | pointers2.c | Example of dereferencing (i.e. using an *) a pointer. |
5 | pointers3.c | Example showing that pointers store addresses (explicitly showing the ampersand operator) |
6 | Student.c | Example with struct and typedef struct. |
7 | 10_bob.c | Example pointer to a struct. |