Programming: Creating an Array Variable

An variable array is a variable that can hold more than one value of the specified type. The number of values is represented within a set of brackets []. The type is specified like in a standard variable such as: int for integer. An example of an array might look like this: char myArray[20];. This variable array can hold 20 char type values.



Back to blog

Leave a comment

Please note, comments need to be approved before they are published.