Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 435 Bytes

array.md

File metadata and controls

9 lines (5 loc) · 435 Bytes

An array is a [[data type]] that contains a fixed amount of values. In [[C]] an array is a [[variable]] containing the address of the first element of the array in memory. Each element share the same [[data type]] inside an array because we need to know how many bytes we need to allocate for the array and how we can access te different element Here is a vizual representation of an array in [[C]] :

![[array_memory]]

#datatype