DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
declare an array with signle value Rust
fn main() { let numbers: [u32; 5] = [0; 5]; println!("{:?}", numbers); // returns [0, 0, 0, 0, 0] }
PREVIOUS
NEXT
Tagged:
#declare
#array
#signle
#Rust
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit