You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int a = numbers[0] + numbers[1]; // Sets variable 'a' to 240
int b = numbers[1] + numbers[2]; // Sets variable 'b' to 180
]]></code>
</example>
<description><![CDATA[
The array access operator is used to specify a location within an array. The data at this location can be defined with the syntax <b>array[element] = value</b> and read with the syntax <b>value = array[element]</b> as shown in the above example.
]]></description>
<syntax>
<c>datatype</c>[]
<c>array</c>[<c>element</c>]
</syntax>
<parameter>
<label>datatype</label>
<description><![CDATA[any primitive or compound datatype, including user-defined classes]]></description>