Logo

Programming-Idioms

History of Idiom 207 > diff from v8 to v9

Edit summary for version 9 by programming-idioms.org:
Capitalized title

Version 8

2020-03-20, 17:23:38

Version 9

2020-10-08, 14:15:43

Idiom #207 allocate a list that is automatically deallocated

Allocate a list / array a containing n elements (n assumed to be too large for a stack) that is automatically deallocated when the program exits the scope it is declared in.

Idiom #207 Allocate a list that is automatically deallocated

Allocate a list a containing n elements (n assumed to be too large for a stack) that is automatically deallocated when the program exits the scope it is declared in.

Variables
a,n
Extra Keywords
heap