conventions.io

Tech Challenge

2026-10-25

🦀

Daily Tech Challenge

Rust

medium
Question 1 of 5

What does this program print, converting numbers to characters with char::from_digit?

Example
fn main() {
    let a = char::from_digit(7, 10);
    let b = char::from_digit(11, 16);
    let c = char::from_digit(10, 10);
    println!("{:?} {:?} {:?}", a, b, c);
}

Sunday, October 25, 2026 · A new challenge drops every day