100 Days Of Solidity, Reading State Variables, Writing State Variables, State Variables.
0. 2. `set` Function: — The `set` function allows us to update the value of `num` by accepting a parameter `_num` of type `uint`. — The `public` visibility modifier enables both internal and external access to the function. — Inside the function, the value of `_num` is assigned to `num`, thereby