Beginner Rust
Q2 / 100

What is Rust's primary memory safety guarantee?

Correct! Well done.

Incorrect.

The correct answer is B) Ownership and borrowing rules enforced at compile time, eliminating dangling pointers and data races without a GC

B

Correct Answer

Ownership and borrowing rules enforced at compile time, eliminating dangling pointers and data races without a GC

Explanation

Rust's ownership system ensures memory safety at compile time with no runtime garbage collector. The borrow checker prevents use-after-free and data races.

Progress
2/100