هذا مرجع في التراكيب الأساسية للغة السي.
المفاهيم الأساسية
التعليقات جدول الـASCII مراحل الترجمة المسميات (Identifiers) - scope - lifetime نطاقات التسمية والكشف (Namespaces) الأنواع - الأنواع الحسابية الكائنات والـ alignment الدالة الرئيسيةmain نموذج الذاكرة و الـ data races
main
الكلمات المفتاحية (Keywords)
المعالج القبلي (Preprocessor)
#if - #ifdef - #ifndef #define - # - ## #include - #pragma #line - #error
الأوامر (Statements)
if - switchforwhile - do-whilecontinue - breakgoto - return
if
switch
for
while
do
continue
break
goto
return
التعبيرات (Expressions)
Value categories Evaluation order and sequencing Constants and literals integer constants floating constants character constants string literals compound literals(C99) Constant expressions Implicit conversionsOperators مؤثرات الوصول إلى العناصر logical - comparison arithmetic - assignment increment and decrement call, comma, ternary sizeof - alignof(C11) cast operators Operator precedence Generic selection(C11)
sizeof
alignof
التمهيد (Initialization)
scalar array structure/union
الإعلانات (Decalarations)
Pointers - المصفوفات (Arrays) Enumerations Storage duration and linkage const - volatile - restrict(C99) struct - union - bit fieldsalignas(C11) - typedef static_assert(C11) Atomic types(C11) External and tentative definitions
alignas
typedef
الدوال/التوابع (Functions)
Function declaration Function definitioninline(C99) - noreturn(C11) Variadic arguments
Miscellaneous
تاريخ السي Inline assembly As-if rule signal handling Analyzability(C11)