Tech Challenge
2026-11-24
🦀
Daily Tech Challenge
Rust
medium
Question 1 of 5
What does this program print, measuring zero-sized types with std::mem::size_of?
Example
use std::mem::size_of;
fn main() {
println!("{} {} {}",
size_of::<()>(),
size_of::<[u8; 0]>(),
size_of::<[(); 5]>());
}Tuesday, November 24, 2026 · A new challenge drops every day