mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 09:34:00 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
682 B
682 B
Array
Arrays are fixed-size collections of elements of the same type stored consecutively in memory. Size must be known at compile time and cannot change. Syntax: let arr: [type; size] = [elements];. Example: let nums: [i32; 3] = [1, 2, 3];. Access elements with zero-based indexing: arr[0].
Visit the following resources to learn more: