A
Q. What is the result of the following code?
Code:
fn main() {
let s = String::from("hello");
let t = s;
println!("{}", s);
}
let s = String::from("hello");
let t = s;
println!("{}", s);
}
- Correct Answer - Option(B)
- Views: 28
- Filed under category Rust
- Hashtags:
Discusssion
Login to discuss.