Beginner
Rust
Q12 / 100
What is Option<T> used for?
Correct! Well done.
Incorrect.
The correct answer is B) Representing a value that may or may not exist: Some(T) or None
B
Correct Answer
Representing a value that may or may not exist: Some(T) or None
Explanation
Option<T> replaces null pointers. You must handle both Some(x) and None, preventing null pointer dereferences.
Progress
12/100