what are variables ? Explain difference between initialization and declarationtion of variable
Answers
Answer:
For a variable, a definition is a declaration which allocates storage for that variable.
Initialization is the specification of the initial value to be stored in an object, which is not necessarily the same as the first time you explicitly assign a value to it.
Declaration, generally, refers to the introduction of a new name in the program. For example, you can declare a new function by describing it's "signature":
Explanation:
pls mark me as brilliant
Answer:
what are variables?
Variables are used to store information to be referenced and manipulated in a computer program.
Explain difference between initialization and declarationtion of variable.
For a variable, a definition is a declaration which allocates storage for that variable.
Initialization is the specification of the initial value to be stored in an object, which is not necessarily the same as the first time you explicitly assign a value to it.