C:
#include <stdio.h>
int main(void) {
printf("hello world\n");
return 0;
}
Rust: fn main() {
println!("hello world");
}