1//To create a new, empty vector23fn main(){
4 let v: Vec<i32> = Vec::new();
5}
67//vector that holds the values you give it.89fn main(){
10 let v = vec![1, 2, 3];
11}
1213
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content