https://github.com/shehza-d/learning-c
Diving deep into Low Level Programming
https://github.com/shehza-d/learning-c
c low-level memory-management
Last synced: 12 months ago
JSON representation
Diving deep into Low Level Programming
- Host: GitHub
- URL: https://github.com/shehza-d/learning-c
- Owner: shehza-d
- License: mit
- Created: 2024-02-28T13:57:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-04T20:49:25.000Z (almost 2 years ago)
- Last Synced: 2025-02-14T16:32:16.498Z (over 1 year ago)
- Topics: c, low-level, memory-management
- Language: C
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Diving deep into Low Level Programming

https://www.w3schools.com/c/index.php
### [Style Guide for C](https://cs50.readthedocs.io/style/c/)
## To compile and run C program
```bash
gcc index.c -o compiledBinary && ./compiledBinary
```
| **Format specifier** | **Used for** | **Example** |
| -------------------- | ----------------- | ----------------- |
| `%d` or `%i` | integer data type | 2 |
| `%f` | float data | 23.56 |
| `%c` | Character | K |
| `%s` | String | shehzad |
| `%p` | Pointers | &Memory addresses |
### 32 Reserved keywords in C
Keywords are reserved name that have some pre-defined meaning in C language.
| | | | | |
| -------- | ------- | ------ | -------- | ----- |
| auto | double | int | struct | break |
| else | long | switch | case | enum |
| register | typedef | char | extern | return |
| union |
| continue | for | signed | void |
| do | if | static | while |
| default | goto | sizeof | volatile |
| const | float | short | unsigned |