Skip to content
Quiz · Variables and Types · lesson 10 of 12

Quiz — as u8 and checked_add

Question 1 of 2

What does the program print?

Rust
fn main() {
    let n = 300_i32;
    println!("{}", n as u8);
}