close
Jump to content

variable-length array

From Wiktionary, the free dictionary

English

[edit]
English Wikipedia has an article on:
Wikipedia
Examples
int fibonacci(int n) {
    int nums[n];
    // ...
}

A function which defines an array with variable size, dependent on the value of n.

Noun

[edit]

variable-length array (plural variable-length arrays)

  1. (programming) An array whose length is determined by a variable at run time.