Beginner Rust
Q22 / 100

What is Rc<T>?

Correct! Well done.

Incorrect.

The correct answer is B) Reference-counted smart pointer enabling multiple owners of the same heap data in single-threaded contexts

B

Correct Answer

Reference-counted smart pointer enabling multiple owners of the same heap data in single-threaded contexts

Explanation

Rc<T> (Reference Counted) allows multiple owners. The data is freed when the last Rc is dropped. Not Send/Sync — use Arc for multithreading.

Progress
22/100