1.What does the type &[i32] represent at runtime in Rust?
2.Given let a = [10, 20, 30, 40, 50];, what is the value of &a[1..4]?
3.You have let v = vec![1, 2, 3]; and want a slice that might exceed the buffer without risking a runtime panic. Which expression is the safe choice?
4.Why can slicing a &str with &s[0..1] panic, when the same range never panics on a &[i32]?
5.How does taking a &str slice of a String in Rust differ from calling Substring on a string in C#?
Answer every question to submit.