Page 3 - C-Language
P. 3
restrict qualification 16
Changing bytes 17
Chapter 4: Arrays 19
Introduction 19
Syntax 19
Remarks 19
Examples 20
Declaring and initializing an array 20
Clearing array contents (zeroing) 21
Array length 22
Setting values in arrays 23
Define array and access array element 24
Allocate and zero-initialize an array with user defined size 24
Iterating through an array efficiently and row-major order 25
Multi-dimensional arrays 27
Iterating through an array using pointers 29
Passing multidimensional arrays to a function 30
See also 31
Chapter 5: Assertion 32
Introduction 32
Syntax 32
Parameters 32
Remarks 32
Examples 33
Precondition and Postcondition 33
Simple Assertion 34
Static Assertion 34
Assertion of Unreachable Code 35
Assert Error Messages 36
Chapter 6: Atomics 38
Syntax 38
Remarks 38

