From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/c/language.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 devdocs/c/language.html (limited to 'devdocs/c/language.html') diff --git a/devdocs/c/language.html b/devdocs/c/language.html new file mode 100644 index 00000000..a06d6090 --- /dev/null +++ b/devdocs/c/language.html @@ -0,0 +1,27 @@ +

C language

This is a reference of the core C language constructs.

+ + +

Basic concepts

+

Comments
ASCII chart
Character sets and encodings
Translation phases
Punctuation
Identifier - Scope - Lifetime
Lookup and Name Spaces
Type - Arithmetic types
Objects and Alignment
The main function
As-if rule
Undefined behavior
Memory model and Data races

+

Keywords

+

Preprocessor

+

#if - #ifdef - #ifndef - #elif
#elifdef - #elifndef(C23)
#define - # - ##
#include - #pragma
#line - #error
#warning(C23) - #embed(C23)

+

Statements

+

if - switch
for
while - do-while
continue - break
goto - return

+

Expressions

+

Value categories
Evaluation order and sequencing
Constants and literals
Integer constants
Floating constants
Character constants
true/false(C23)
nullptr(C23)
String literals
Compound literals(C99)
Constant expressions
Implicit conversions
Operators
Member access and indirection
Logical - Comparison
Arithmetic - Assignment
Increment and Decrement
Call, Comma, Ternary
sizeof - _Alignof(C11)
Cast operators
Operator precedence
Generic selection(C11)

+

Initialization

+

Scalar
Array
Structure/Union

+

Declarations

+

Pointers - Arrays
Enumerations
Storage duration and Linkage
const - volatile - restrict(C99)
struct - union - Bit-fields
_Alignas(C11) - typedef
_Static_assert(C11)
Atomic types(C11)
External and tentative definitions
Attributes(C23)

+

Functions

+

Function declaration
Function definition
inline(C99)
_Noreturn(C11)(deprecated in C23)
Variadic arguments

+

Miscellaneous

+

History of C
Conformance
Inline assembly
Signal handling
Analyzability(C11)

+

See also

+
C++ documentation for C++ language constructs
+

+ © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
+ https://en.cppreference.com/w/c/language +

+
-- cgit v1.2.3