Tutorial 2:
Variables- Variables refer to memory location in system that hold a value for that variable. This value can be changed during the execution of the program.
Variables are only valid in the scope in which they are declared.
Those students who are not good in English so don't worry because this tutorial series is in Urdu language, you can easily understand everything in Rust programming language.
There are two types of variable
1. Mutable Variable
Variables whose value can be modified.
2. Immutable Variable
Variables whose value can not be modified.
In Rust, by default variables are immutable.