A.9. Arrays

Arrays of variables can be defined using the notation name[size], where name is the variable name and size is an integer that defines the number of elements in the array. The index of a C array always begins at .

Arrays of variables can be of different data types as shown below.


Release 18.2 - © ANSYS, Inc. All rights reserved.