Quiz · Collections · lesson 2 of 10
Quiz — get and push
Question 1 of 2
What does the program print?
fn main() {
let v = vec![1, 2, 3];
println!("{:?} {:?}", v.get(1), v.get(10));
}What does the program print?
fn main() {
let v = vec![1, 2, 3];
println!("{:?} {:?}", v.get(1), v.get(10));
}