Please enable JavaScript.
Coggle requires JavaScript to display documents.
Features of C Language: - Coggle Diagram
Features of C Language:
Data Types
Primitive Data Types: int, float, char, double
Derived Data Types: arrays, structures, pointers
Variables and Constants
Declaration and Initialization: int x = 5, const float PI = 3.14
Scope and Lifetime: local variables, global variables
Control Structures
Conditional Statements: if-else, switch
If-else statements: if, else, else if
Switch statements: switch, case, default
Looping Statements: for, while, do-while
-
-
-
Jump Statements: break, continue, goto
Functions
-
Function Parameters: pass-by-value, pass-by-reference
-
-
Arrays and Pointers
Array Declaration and Initialization: int arr[5] = {1, 2, 3, 4, 5}
Array Manipulation: accessing elements, array arithmetic
Pointers and Pointer Arithmetic: int ptr, ptr + 1
Structures and Unions
-
Structure Access and Manipulation: dot operator (.), arrow operator (->)
-
-
Preprocessor Directives
Macro Definitions: #define, #ifndef, #endif
Conditional Compilation: #ifdef, #else, #endif
Memory Management
Dynamic Memory Allocation: malloc, calloc, realloc, free
Bitwise Operations
Bitwise Operators: &, |, ^, ~, <<, >>
Bitwise Manipulation Techniques: bit masking, bit shifting