ALEN( ) is used in the displayArray( ) function, shown in the example for dimensions, to determine the number of rows and columns in a two-dimensional array.