https://github.com/codahiri/clang
C language
https://github.com/codahiri/clang
c clang compiler gcc-complier markdown programming-language shell
Last synced: about 2 months ago
JSON representation
C language
- Host: GitHub
- URL: https://github.com/codahiri/clang
- Owner: codahiri
- Created: 2022-02-07T20:50:51.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-17T16:03:19.000Z (about 3 years ago)
- Last Synced: 2025-01-13T12:25:58.744Z (3 months ago)
- Topics: c, clang, compiler, gcc-complier, markdown, programming-language, shell
- Language: C
- Homepage: https://dev.to/ilosrim/hello-clang-00-1e4a
- Size: 73.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C Language
`C` is a general-purpose programming language that has been around for nearly 50 years.
`C` has been used to write everything from operating systems (including Windows and many others) to complex programs like the Python interpreter, Git, Oracle database, and more.
The versatility of C is by design. It is a low-level language that relates closely to the way machines work while still being easy to learn.> Understanding how computer memory works is an important aspect of the C programming language.
## Cheet Sheat > [cheet](./topics/)
---
## Data Types
C supports the following basic data types:
- **int**: integer, a whole number.
- **float**: floating point, a number with a fractional part.
- **double**: double-precision floating point value.
- **char**: single character.| Type | Description | Values |
| -------- | --------------------------------------- | ------------------------------- |
| `int` | a whole number | -2,147,483,648 to 2,147,483,647 |
| `float` | a number with possible decimals | 6 decimal places |
| `double` | a number with possible decimals | 15 decimal places |
| `char` | stores one character (letter or number) | a single character || symbol | type |
| -------- | --------------- |
| %d or %i | int |
| %f | double or float |
| %c | char |
| %s | array char || Priority | Symbol |
| -------- | ------------------------ |
| 1 | ++ |
| 1 | -- |
| 1 | () |
| 2 | ! |
| 2 | (typecast) |
| 3 | \* |
| 3 | / |
| 3 | % |
| 4 | + |
| 4 | - |
| 5 | <, <= |
| 5 | >, >= |
| 6 | ==, != |
| 7 | && |
| 8 | or |
| 9 | all assignment operators |