Variable:
- The most important concept of every programming language is Variables.
- The main aim of every application is store and process the information.
- We store the information into memory using variables.
Definition:
- Variable is an identity of memory location.
Or
- Named memory location
Classification of variables: We can classify variables into 2 types
- Local variables
- Global variables.
Note: To understand the concept of variables, first we need to understand the function programs. Let us see some example codes on functions before learning classification of variables.