fn main() {
 
//write your code here
 
}

This is the main() function which acts as an entry point of every Rust program.

  • It is always the first code that runs in every Rust program.