What do you mean by expression ""a = 5"" ?
Answers
Answer:
means the value of a is 5
Value of 5 is allotted to "a"
Explanation:
So now we have to analyze what a =5 actually does.
So before a value is assigned to a variable, the variable has to be declare.
Note: Some programming language allow the programmer to assign values
Declaration:
Assume that a is an integer and it is declared as "int a;"
The above statement, creates a memory space for "a". The amount of memory space will be decided based on the data type. integer will occupy space lesser than "double".
Initialization:
when a = 5 statement is encountered, the number "5" is written on the memory.
Fetching values:
When "print a" is encountered, the variable "a's" memory is identified and then the value is fetched.
To Know More:
https://brainly.in/question/5772407
Define variable? Explain its declaration and initialization in C program.
https://brainly.in/question/6816127
What is dynamic initializition??