Ubound
Ubound is a programming term used in many programming languages to refer to the upper bound of an array. An array is a data structure that stores a collection of elements, typically of the same data type, in contiguous memory locations. When an array is declared, it is assigned a size, which determines the number of elements it can hold. The elements of an array are accessed using an index, which is a numerical value that identifies the position of an element within the array.
The index of an array typically starts from 0, meaning the first element is at index 0,
For example, if an array named `myArray` has 10 elements, its upper bound would be 9. Calling