Rust Hello World program
kw.rs
fn main()
{
    println!("Hello, World!");
}
Output
kodingwindow@kw:~$ rustc kw.rs
kodingwindow@kw:~$ ./kw Hello, World! kodingwindow@kw:~$
Advertisement