Programming Languages Rust Mcq
Oct 04, 2025

What is the difference between String and &str?

Choose the correct answer:
A) String is owned, &str is borrowed
B) No difference
C) String is faster
D) &str is deprecated
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback