Accessing Elements
To access a specific element within an array, use the following syntax:
name[index]
Where index represents the position of the element, knowing that positions start at 0.
To change the value of an element, use the following syntax:
name[index] = value
The value must be of the same type as specified in the array declaration.