https://github.com/halfzebra/learning-c
🤖 My notes for learning C
https://github.com/halfzebra/learning-c
Last synced: 10 months ago
JSON representation
🤖 My notes for learning C
- Host: GitHub
- URL: https://github.com/halfzebra/learning-c
- Owner: halfzebra
- Created: 2021-02-15T10:29:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-28T10:41:45.000Z (over 4 years ago)
- Last Synced: 2025-03-13T14:24:04.863Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🤖 learning-c
A bunch of examples I've decided to save while learning C.
## Pointers
Mostly derived from [A TUTORIAL ON POINTERS AND ARRAYS IN C](https://pdos.csail.mit.edu/6.828/2012/readings/pointers.pdf) by Ted Jensen
The easiest way to run examples is:
```bash
# substitute the number "2-1" to run other programs
gcc ./pointers/pointers2-1.c -o test && ./test
```
## Resources
- https://github.com/oz123/awesome-c
## Analyzing memory
```
gcc malloc-struct.c -o test && ./test | hexdump -d
```